AI-Project/survival/components/moving_component.py

6 lines
178 B
Python
Raw Normal View History

2021-03-28 18:05:52 +02:00
class MovingComponent:
def __init__(self, direction, target):
self.direction = direction
self.movement_target = target
self.checked_collision = False