@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use eXpansion\Framework\Gui\Components\uiButton; |
| 15 | 15 | use eXpansion\Framework\Gui\Components\uiLabel; |
| 16 | 16 | use FML\Controls\Frame; |
| 17 | -use FML\Controls\Label; |
|
| 18 | 17 | use FML\Controls\Quad; |
| 19 | 18 | |
| 20 | 19 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use eXpansion\Framework\Core\Helpers\Time; |
| 9 | 9 | use eXpansion\Framework\Core\Plugins\StatusAwarePluginInterface; |
| 10 | 10 | use eXpansion\Framework\Core\Services\Console; |
| 11 | -use eXpansion\Framework\Core\Storage\Data\Player; |
|
| 12 | 11 | use eXpansion\Framework\Core\Storage\PlayerStorage; |
| 13 | 12 | use Maniaplanet\DedicatedServer\Connection; |
| 14 | 13 | use Maniaplanet\DedicatedServer\Structures\Map; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use eXpansion\Framework\Gui\Components\uiButton; |
| 12 | 12 | use eXpansion\Framework\Gui\Ui\Factory; |
| 13 | 13 | use FML\Controls\Frame; |
| 14 | -use FML\Controls\Label; |
|
| 15 | 14 | use FML\Controls\Quad; |
| 16 | 15 | use FML\ManiaLink; |
| 17 | 16 | |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | $frame->setPosition(-160 - $mainFrame->getX(), 90 - $mainFrame->getY()); |
| 93 | 93 | |
| 94 | 94 | $tabsFrame = new Frame(); |
| 95 | - $tabsFrame->setPosition(-144 - $mainFrame->getX(), 82- $mainFrame->getY()); |
|
| 95 | + $tabsFrame->setPosition(-144 - $mainFrame->getX(), 82 - $mainFrame->getY()); |
|
| 96 | 96 | |
| 97 | 97 | // Creating the tabs. |
| 98 | 98 | $mainFrame->addChild( |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param ParentItem $rootItem |
| 45 | 45 | * @param $openId |
| 46 | 46 | * |
| 47 | - * @return Renderable |
|
| 47 | + * @return Container |
|
| 48 | 48 | */ |
| 49 | 49 | public function createTabsMenu( |
| 50 | 50 | ManialinkInterface $manialink, |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace eXpansion\Bundle\Menu\Gui; |
| 4 | 4 | |
| 5 | -use eXpansion\Bundle\Menu\Model\Menu\ItemInterface; |
|
| 6 | 5 | use eXpansion\Bundle\Menu\Model\Menu\ParentItem; |
| 7 | 6 | use eXpansion\Framework\Core\Model\Gui\ManialinkInterface; |
| 8 | 7 | use eXpansion\Framework\Core\Plugins\Gui\ActionFactory; |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use eXpansion\Framework\Core\Model\Gui\ManialinkInterface; |
| 6 | 6 | use eXpansion\Framework\Core\Model\Gui\ManiaScriptFactory; |
| 7 | 7 | use eXpansion\Framework\Core\Model\Gui\WindowFrameFactoryInterface; |
| 8 | -use eXpansion\Framework\Gui\Components\uiButton; |
|
| 9 | 8 | use FML\Controls\Control; |
| 10 | 9 | use FML\Controls\Frame; |
| 11 | 10 | use FML\Controls\Label; |
@@ -30,6 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @param ManialinkInterface $manialinkInterface |
| 33 | + * @return void |
|
| 33 | 34 | */ |
| 34 | 35 | public function setManialinkInterface(ManialinkInterface $manialinkInterface); |
| 35 | 36 | } |