📄 ghostmoveathomeactions.h
字号:
// GhostMoveAtHomeActions.h
//
// List of all possible actions when a ghost has been killed
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _GHOST_MOVE_AT_HOME_ACTIONS_H_
#define _GHOST_MOVE_AT_HOME_ACTIONS_H_
#include "GhostAction.h"
class GhostExitHomeAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostMoveUpAndDownAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostMoveFromLeftToCenterAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
class GhostMoveFromRightToCenterAction : public GhostAction
{
// methods
public:
virtual void run(Ghost *ghost);
};
#endif // _GHOST_MOVE_AT_HOME_ACTIONS_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -