1. Arne Babenhauserheide
  2. fungus

Commits

dr...@bach  committed eef7118

debug

  • Participants
  • Parent commits f6cd9a5
  • Branches hexbattle

Comments (0)

Files changed (1)

File fungus_hexbattle.py

View file
 To add a collider, add it to the self.colliding list. 
 To add an overlay sprite, add it to the self.overlay list. 
 """	
-        print 0
         self.blob.update()
-        print 1
         for char in self.chars:
             char.update()
-            print 2
         # do the computer actions. As soon it’s the players turn, computer_turn() changes the state.
+        print self.state
         if self.state["player"] == "setup":
             self.setup_step()
-            print 3
         elif self.state["player"] == "CPU":
             self.computer_turn()
-            print 4
         sleep(0.01)
 
     def are_enemies(self, unit, other):