From f4c4d8fa3ddcbd3884b939833f6542441b2e746b Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Fri, 4 Mar 2016 21:35:33 +0200 Subject: [PATCH] Rename roach management scene module. --- koperkapel/scenes/menu.py | 7 ++++--- koperkapel/scenes/{roaches.py => roach_management.py} | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename koperkapel/scenes/{roaches.py => roach_management.py} (100%) diff --git a/koperkapel/scenes/menu.py b/koperkapel/scenes/menu.py index ce09cb5..a902d3a 100644 --- a/koperkapel/scenes/menu.py +++ b/koperkapel/scenes/menu.py @@ -18,7 +18,8 @@ class MenuScene(Scene): TextButton("Play", action=self.change_to_level), TextButton("View Last Generated Level", action=self.change_to_viewer), - TextButton("Manage Roaches", action=self.change_to_roaches), + TextButton("Manage Roaches", + action=self.change_to_roach_management), TextButton("Credits", action=self.change_to_credits), TextButton("Quit", action=self.quit), ] @@ -41,8 +42,8 @@ class MenuScene(Scene): ChangeSceneEvent(ViewLevelScene()) ] - def change_to_roaches(self): - from .roaches import RoachesScene + def change_to_roach_management(self): + from .roach_management import RoachesScene return [ChangeSceneEvent(RoachesScene())] def change_to_credits(self): diff --git a/koperkapel/scenes/roaches.py b/koperkapel/scenes/roach_management.py similarity index 100% rename from koperkapel/scenes/roaches.py rename to koperkapel/scenes/roach_management.py -- 2.34.1