Advertisement
vikhik

loscheck

May 26th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def loscheck(self, target_pos):
  2.     for obj in self.world.objs:
  3.         #is the obj.pos + obj.radius in the line between self.pos and target_pos
  4.             #return True
  5.         pass
  6.     return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement