coininsertedstate.h
来自「VIGASOCO (VIdeo GAmes SOurce COde) Windo」· C头文件 代码 · 共 30 行
H
30 行
// CoinInsertedState.h
//
// Class that handles what happens after inserting a coin
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _COIN_INSERTED_STATE_H_
#define _COIN_INSERTED_STATE_H_
#include "GameState.h"
class CoinInsertedState : public GameState
{
// fields
public:
// all possible substates
static GameSubstate *substates[5];
// methods
public:
virtual void run();
// initialization and cleanup
CoinInsertedState();
virtual ~CoinInsertedState();
};
#endif // _COIN_INSERTED_STATE_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?