Added movementqueue for AI
This commit is contained in:
@@ -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!!!!")
|
||||
|
||||
Reference in New Issue
Block a user