//CONSTRUCTOR public GameManager(ContentManager content) { _Player = new Player(content); _AI = new AI(content); _TWM = new TileWorldManager(content); _Timer = new Timer(content); }
public void shootAI(Player player, AI Ai) { this.player = player; this.enemy = Ai; shoot = true; currentPosition = new Vector2(player.getPosition().X, player.getPosition().Y); destinationPosition = new Vector2(Ai.getPosition().X+2, Ai.getPosition().Y); }
public void Attack(AI enemy) { _MA.shootAI(this, enemy); }