AI-Project/survival/components/pathfinding_component.py

5 lines
171 B
Python
Raw Normal View History

2021-04-19 01:41:02 +02:00
class PathfindingComponent:
def __init__(self, target_pos):
self.target_grid_pos = (int(target_pos[0] / 32), int(target_pos[1] / 32))
self.path = None