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

Class GroundLayer

Source/GroundLayer.h:33–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33class GroundLayer : public ax::Layer, public ax::ActionTweenDelegate
34{
35private:
36 virtual void updateTweenAction(float value, std::string_view key) override;
37
38 float m_fOneGroundSize;
39
40 AX_SYNTHESIZE(float, m_fSpeed, Speed)
41
42public:
43 ax::Sprite* _sprite;
44 void update(float dt) override;
45 bool init(int groundID);
46 static GroundLayer* create(int groundID);
47};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected