The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'!
https://forums.lestoria.net
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
259 B
10 lines
259 B
1 year ago
|
#include "GameState.h"
|
||
|
|
||
|
#define NEW_STATE(state,class) GameState::states[state]=new class();
|
||
|
|
||
|
void GameState::Initialize(){
|
||
|
NEW_STATE(States::GAME_RUN,State_GameRun);
|
||
|
NEW_STATE(States::MAIN_MENU,State_MainMenu);
|
||
|
|
||
|
GameState::ChangeState(States::GAME_RUN);
|
||
|
}
|