Added movementqueue for AI

This commit is contained in:
Christian
2024-08-12 15:54:08 +02:00
parent aece5e9a2e
commit 5b8f38bab2

View File

@@ -124,9 +124,11 @@ class Player2(Player):
object.animate("DOWN")
class Enemy(GameObject):
movementqueue = list()
def __init__(self, name, pos_x, pos_y, width, height, screen, image=None) -> None:
super().__init__(name, pos_x, pos_y, width, height, image)
self.screen = screen
self.movespeed = 10
def fire(self, screen):
#print("Schieße!!!!")