parameters: (self, x, y)
return_statement: return False
docstring: Move to x, y if allowed
  
          Returns:
              bool - success or not
docstring_summary: Move to x, y if allowed
docstring_tokens: Move to x y if allowed
function: def move(self, x, y):
          """
          Move to x, y if allowed
  
          Returns:
              bool - success or not
          """
          state = _vec_to_array(self.cam.pos)
          if self._check_collision(state, np.array([x, state[1], y])):
              self.cam.pos.x = x
              self.cam.pos.z = y
              return True
          return False
function_tokens: def move ( self , x , y ) : state = _vec_to_array ( self . cam . pos ) if self . _check_collision ( state , np . array ( [ x , state [ 1 ] , y ] ) ) : self . cam . pos . x = x self . cam . pos . z = y return True return False