Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/Main.py
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-08-12 22:43:59 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-08-12 22:43:59 (GMT)
commitade073bbfbba5e8ffc26a175b6d1a80d40a6ccf0 (patch)
treeb83df4375da367b57d1464024880fcac51c62557 /src/Main.py
parentaffb27b6ed933ab51cd1ef6e44d767f3cc40c66c (diff)
fixes for sugar activity
Diffstat (limited to 'src/Main.py')
-rwxr-xr-xsrc/Main.py22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/Main.py b/src/Main.py
index 51d45b3..c069b64 100755
--- a/src/Main.py
+++ b/src/Main.py
@@ -7,15 +7,21 @@ from game.MenuState import CMenuState
import api.Game
from api.Game import CGame
-def main():
+class EdSexualGame():
- g = CGame()
+ def __init__(self):
+ pass
- ms = CMenuState()
- g.setState(ms)
-
- g.gameLoop()
- g.destroy()
+ def main(self):
+
+ g = CGame()
+
+ ms = CMenuState()
+ g.setState(ms)
+
+ g.gameLoop()
+ g.destroy()
if __name__ == "__main__":
- main() \ No newline at end of file
+ j = EdSexualGame()
+ j.main() \ No newline at end of file