Exemple #1
0
 def movedown_player(self,game):
         if game.checkstairs(self.xcordinate-1,self.ycordinate)==True:
                 game.resetperson(self)
                 self.movedown()
Exemple #2
0
 def moveup_player(self,game):
         if game.checkstairs(self.getxcordinate(),self.getycordinate()):
                 self.moveup()