demostate.h

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

H
30
字号
// DemoState.h
//
//	Class that handles the demo state
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _DEMO_STATE_H_
#define _DEMO_STATE_H_


#include "GameState.h"

class DemoState : public GameState
{
// fields
public:
	// all possible substates
	static GameSubstate *substates[0x24];

// methods
public:
	virtual void run();

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

#endif	// _DEMO_STATE_H_

⌨️ 快捷键说明

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