• Terence Martin's avatar
    Add state machine to Game scene · f9f42d11
    Terence Martin authored
    This adds in the actual property that includes the state machine in
    the game state. We set up a state and priorState property right on the
    Scene class instance itself so that we can get at the value easier.
    
    This checks at the time that the scene is activated to see if it is
    currently no state (startup) and if so, changes the state to the level
    generation state, which will then kick off the level generation.
    
    This is basically a roundabout way to do what we were already doing.
    f9f42d11
Name
Last commit
Last update
bootstrap Loading commit data...
css Loading commit data...
images Loading commit data...
js Loading commit data...
tools Loading commit data...
ts Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
devember-2016.sublime-project Loading commit data...
index.html Loading commit data...