📄 redghost.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -