Menu

#3 States

Development
open
Tempest
States (1)
2012-10-13
2012-10-13
Tempest
No

We need to write a new class handling the states in the engine, the name will be States. It will act as a form of middle layer, making Editor class do calls to it to see which functions to call

example of how it might be used:
switch(States->whatState())
{
case MapCreation:
classFunction();
break;
default:
break;
}

Discussion


Log in to post a comment.

MongoDB Logo MongoDB