Esempio n. 1
0
 def exit(self, other_item):
     GameStage.exit(self, other_item)
     for card1, card2 in self.deck:
         card1.exit()
         card2.exit()
     self.deck = None
     self.cards = None
Esempio n. 2
0
 def exit(self, other_stage):
     GameStage.exit(self, other_stage)
     self.good_indicator.exit()
     self.good_indicator = None
     self.character_animation.exit()
     self.character_animation = None
     for invader in self.invaders:
         invader.exit()
     self.invaders = None
Esempio n. 3
0
 def exit(self, other_self):
     GameStage.exit(self, other_self)
     self.gui.exit()
     self.gui = None
     if self.tests:
         self.tests.exit()
     self.tests = None
     self.map_character.exit()
     self.map_character = None
     if self.collisions:
         for col in self.collisions:
             col.exit()
     self.collisions = None
     self.named_layers = None
     self.entrance = None
     if self.map_manager:
         self.map_manager.exit()
         self.map_manager = None