cocos:有限狀態機(消息驅動)

State.hpost #pragma once #ifndef __STATE__H_ #define __STATE__H_ #include "MessageEnum.h" class GameObj; class State { public: virtual void execuete(GameObj*gameObj, MessageEnum messageEnum)=0; }; #
相關文章
相關標籤/搜索