MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / GarageLayer

Class GarageLayer

Source/GarageLayer.h:39–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38
39class GarageLayer : public ax::Scene {
40public:
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
50private:
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};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected