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