mc settings tab

This commit is contained in:
kremsy 2014-01-05 19:10:11 +01:00
parent 004d196d0e
commit 0459a945ce

View File

@ -7,6 +7,7 @@
namespace ManiaControl\Configurators;
use FML\Controls\Frame;
use FML\Script\Script;
use ManiaControl\ManiaControl;
use ManiaControl\Players\Player;
@ -50,8 +51,19 @@ class ManiaControlSettings implements ConfiguratorMenu{
* @return \FML\Controls\Frame
*/
public function getMenu($width, $height, Script $script) {
var_dump($this->maniaControl->settingManager->getSettings());
// TODO: Implement getMenu() method.
$pagesId = 'ScriptSettingsPages';
$frame = new Frame();
/** @var ManiaControl/SettingManager $this->maniaControl->settingManager */
$settings = $this->maniaControl->settingManager->getSettings();
foreach($settings as $setting){
var_dump($setting);
}
return $frame;
}
/**