From b2aa374a0ddd1b4e4aa285e7048ffca6bdc45249 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 17 Apr 2013 13:29:59 +0200 Subject: [PATCH] Add reset method --- erdslangetjie/level.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1