Exemplo n.º 1
0
 def chooseState(self):
     if self.dead == True:
         self.AttackState = AttackState.gdeadState()
     elif self.damageCounter != 0:
         self.AttackState = AttackState.gRunDamageState()
     else:
         self.AttackState = AttackState.gRunState()