ghostmovewhenkilledactions.h
来自「VIGASOCO (VIdeo GAmes SOurce COde) Windo」· C头文件 代码 · 共 48 行
H
48 行
// GhostMoveWhenKilledActions.h
//
// List of all possible actions when a ghost has been killed
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _GHOST_MOVE_WHEN_KILLED_ACTIONS_H_
#define _GHOST_MOVE_WHEN_KILLED_ACTIONS_H_
#include "GhostAction.h"
class GhostGoHomeAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostEnterHomeAndEndAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostGoHomeAndContinueAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostMoveToLeftHomeSideAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostMoveToRightHomeSideAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
#endif // _GHOST_MOVE_WHEN_KILLED_ACTIONS_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?