Mercurial > pyntnclick
diff gamelib/state.py @ 9:6db58d31dd4c
Function for loading initial state.
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Sun, 22 Aug 2010 15:59:37 +0200 |
parents | d7c9d8273d7f |
children | e9dc681911c4 |
line wrap: on
line diff
--- a/gamelib/state.py Sun Aug 22 15:50:49 2010 +0200 +++ b/gamelib/state.py Sun Aug 22 15:59:37 2010 +0200 @@ -1,5 +1,12 @@ """Utilities and base classes for dealing with scenes.""" +def initial_state(): + """Load the initial state.""" + state = State() + # TODO: populate state + return state + + class State(object): """Complete game state.