projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
371d146
)
Add reset method
author
Neil
<neil@dip.sun.ac.za>
Wed, 17 Apr 2013 11:29:59 +0000
(13:29 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Wed, 17 Apr 2013 11:29:59 +0000
(13:29 +0200)
erdslangetjie/level.py
patch
|
blob
|
history
diff --git
a/erdslangetjie/level.py
b/erdslangetjie/level.py
index cbec02c35d899a7ceb18123891bd177b1add1b16..4458245a4156c7ab63f866fcc6ba916d2fcc3769 100644
(file)
--- a/
erdslangetjie/level.py
+++ b/
erdslangetjie/level.py
@@
-146,3
+146,6
@@
class LevelList(object):
def advance_to_next_level(self):
self._cur_level += 1
return self.get_current_level()
+
+ def reset(self):
+ self._cur_level = 0