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