Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def boxesposition(self):
- for cy in range(len(self.map)):#busca la posicion en x de la caja
- for cx in range(len(self.map)):#busca la posicion en y de la caja
- if self.map[cy][cx] == 1:
- self.position_cx =cx
- self.position_cy =cy
- print (self.map[cx][cy])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement