initstate.h

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

H
29
字号
// InitState.h
//
//	Class that handles the game initial state
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _INIT_STATE_H_
#define _INIT_STATE_H_


#include "GameState.h"

class InitState : public GameState
{
// fields
public:
	// all possible substates
	static GameSubstate *substates[1];

// methods
public:
	virtual void run();

	// initialization and cleanup
	InitState();
	virtual ~InitState();
};

#endif	// _INIT_STATE_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?