mc settings tab
This commit is contained in:
parent
004d196d0e
commit
0459a945ce
@ -7,6 +7,7 @@
|
|||||||
namespace ManiaControl\Configurators;
|
namespace ManiaControl\Configurators;
|
||||||
|
|
||||||
|
|
||||||
|
use FML\Controls\Frame;
|
||||||
use FML\Script\Script;
|
use FML\Script\Script;
|
||||||
use ManiaControl\ManiaControl;
|
use ManiaControl\ManiaControl;
|
||||||
use ManiaControl\Players\Player;
|
use ManiaControl\Players\Player;
|
||||||
@ -50,8 +51,19 @@ class ManiaControlSettings implements ConfiguratorMenu{
|
|||||||
* @return \FML\Controls\Frame
|
* @return \FML\Controls\Frame
|
||||||
*/
|
*/
|
||||||
public function getMenu($width, $height, Script $script) {
|
public function getMenu($width, $height, Script $script) {
|
||||||
var_dump($this->maniaControl->settingManager->getSettings());
|
$pagesId = 'ScriptSettingsPages';
|
||||||
// TODO: Implement getMenu() method.
|
$frame = new Frame();
|
||||||
|
|
||||||
|
/** @var ManiaControl/SettingManager $this->maniaControl->settingManager */
|
||||||
|
$settings = $this->maniaControl->settingManager->getSettings();
|
||||||
|
|
||||||
|
foreach($settings as $setting){
|
||||||
|
var_dump($setting);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return $frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user