From: Neil Date: Wed, 17 Apr 2013 11:29:59 +0000 (+0200) Subject: Add reset method X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=b2aa374a0ddd1b4e4aa285e7048ffca6bdc45249;p=erdslangetjie.git Add reset method --- diff --git a/erdslangetjie/level.py b/erdslangetjie/level.py index cbec02c..4458245 100644 --- 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