AI-Project/survival/components/moving_component.py
2021-03-28 18:05:52 +02:00

6 lines
178 B
Python

class MovingComponent:
def __init__(self, direction, target):
self.direction = direction
self.movement_target = target
self.checked_collision = False