ghostmoveathomeactions.h

来自「VIGASOCO (VIdeo GAmes SOurce COde) Windo」· C头文件 代码 · 共 41 行

H
41
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?