| 37 | |
| 38 | |
| 39 | class GarageLayer : public ax::Scene { |
| 40 | public: |
| 41 | static ax::Scene* scene(bool popSceneWithTransition = false); |
| 42 | static GarageLayer* create(); |
| 43 | bool init(); |
| 44 | void setupIconSelect(); |
| 45 | const char* getSpriteName(int id, bool actived); |
| 46 | void setupPage(IconType mode, int page); |
| 47 | void createStat(const char* sprite, const char* statKey); |
| 48 | int selectedGameModeInt(); |
| 49 | |
| 50 | private: |
| 51 | bool _popSceneWithTransition; |
| 52 | SimplePlayer* _iconPrev; |
| 53 | ax::ui::TextField* _userNameField; |
| 54 | ax::Menu* _menuIcons; |
| 55 | ax::Sprite* _selectSprite; |
| 56 | int _numPerRow = 12; |
| 57 | int _numPerColumn = 3; |
| 58 | int _stats = 0; |
| 59 | IconType _selectedMode; |
| 60 | std::array<int, 8> _modePages{0}; |
| 61 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected