# HG changeset patch # User Simon Cross # Date 1282485577 -7200 # Node ID 6db58d31dd4c3101d1ebd936ca143f9cebd4ebc1 # Parent fadfd4479e2437b9a084c8e91f308ad75e279c0d Function for loading initial state. diff -r fadfd4479e24 -r 6db58d31dd4c gamelib/state.py --- 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.