PlayCommand.h
上传用户:jalin138
上传日期:2022-02-12
资源大小:5720k
文件大小:1k
- #pragma once
- #include <list>
- #include "StatePlay.h"
- class CPlayCommand : public CState
- {
- public:
- CPlayCommand(CSprite* _Vector[],
- ST_GAME_PLAY *_play);
- virtual ~CPlayCommand(void);
- // 状态逻辑接口
- virtual bool Logic(void);
- // 状态渲染接口
- virtual void Render(void);
- // 传入场景管理对象,以改变状态
- virtual bool Handle(CSceneManage *_Manage);
- protected:
- //检测选择
- bool CheckChoice(int _n);
- // 选择动态
- void Move(void);
- protected:
- bool m_bChoice;
- hgeSprite *m_pChoice;
- protected:
- CSprite* m_vSprite[g_vector]; //精灵
- ST_GAME_PLAY *m_pPlay; //游戏属性数据
- };