区分输出
This commit is contained in:
parent
3871f2f1f4
commit
363a39e6ea
@ -44,7 +44,7 @@ class Level(tool.State):
|
|||||||
self.map_data = json.load(f)
|
self.map_data = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("game over")
|
print("成功通关!")
|
||||||
if self.mode == c.MODE_ADVENTURE:
|
if self.mode == c.MODE_ADVENTURE:
|
||||||
self.game_info[c.LEVEL_NUM] = c.START_LEVEL_NUM
|
self.game_info[c.LEVEL_NUM] = c.START_LEVEL_NUM
|
||||||
elif self.mode == c.MODE_LITTLEGAME:
|
elif self.mode == c.MODE_LITTLEGAME:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user