| 31 | |
| 32 | |
| 33 | class GroundLayer : public ax::Layer, public ax::ActionTweenDelegate |
| 34 | { |
| 35 | private: |
| 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 | |
| 42 | public: |
| 43 | ax::Sprite* _sprite; |
| 44 | void update(float dt) override; |
| 45 | bool init(int groundID); |
| 46 | static GroundLayer* create(int groundID); |
| 47 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected