playingstate.h

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

H
35
字号
// PlayingState.h
//
//	Class that handles the playing state
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _PLAYING_STATE_H_
#define _PLAYING_STATE_H_


#include "GameState.h"

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

	// cutscene states
	static GameState *cutScene[0x15];

	// different cutscene states
	static GameState *cutScenes[4];

// methods
public:
	virtual void run();

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

#endif	// _PLAYING_STATE_H_

⌨️ 快捷键说明

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