annotate gamelib/main.py @ 554:99a1420097df pyntnclick

Create GameDescription object.
author Simon Cross <hodgestar+bzr@gmail.com>
date Sat, 11 Feb 2012 14:04:48 +0200
parents ebb2efcb4ea7
children 2d2ea51b73ad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
554
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
1 import scenes
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
2
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
3 from pyntnclick.main import GameDescription
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
4
553
ebb2efcb4ea7 Create a re-usable main function.
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
5
554
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
6 class SuspendedSentence(GameDescription):
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
7
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
8 INITIAL_SCENE = scenes.INITIAL_SCENE
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
9 SCENE_LIST = scenes.SCENE_LIST
553
ebb2efcb4ea7 Create a re-usable main function.
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
10
ebb2efcb4ea7 Create a re-usable main function.
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
11
ebb2efcb4ea7 Create a re-usable main function.
Simon Cross <hodgestar+bzr@gmail.com>
parents:
diff changeset
12 def main():
554
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
13 ss = SuspendedSentence()
99a1420097df Create GameDescription object.
Simon Cross <hodgestar+bzr@gmail.com>
parents: 553
diff changeset
14 return ss.main()