游戏开发框架

xiaoxiao2021-02-28  61

class m_eventManger { }; class m_loopManger { static void loop() { } }; class PhysicLayer; class TerrianLayer; class ObjectLayer; class m_renderManger() { public: PhysicLayer m_physicLayer; TerrianLayer m_terranLayer; ObjectLayer m_objectLayer; } class IMageList; class Actor { enum E_ACTION { E_RUN; E_PICK; E_KILL; }; public: IMageList* m_pAnimationList; int m_iCurrentAnimation; int m_iCurrentImage; void beginAnimation(E_ACTION action) { } void endAnimation(E_ACTION action) { } };

 

转载请注明原文地址: https://www.6miu.com/read-76970.html

最新回复(0)