redghost.h
来自「VIGASOCO (VIdeo GAmes SOurce COde) Windo」· C头文件 代码 · 共 34 行
H
34 行
// RedGhost.h
//
// Class with specific data and behaviour for the red ghost
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _RED_GHOST_H_
#define _RED_GHOST_H_
#include "Ghost.h"
class RedGhost : public Ghost
{
// fields
public:
UINT32 movDiffFlag1Pattern;
UINT32 movDiffFlag2Pattern;
// methods
public:
virtual void run();
virtual void draw();
virtual void moveInNormalState();
virtual void selectProperAnimation();
// initialization and cleanup
RedGhost();
virtual ~RedGhost();
virtual void resetState();
virtual void initState(bool special);
};
#endif // _RED_GHOST_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?