public Ant(AntsGame game, Square square, int team) { this.game = game; Team = team; Square = square; Health = 5; AttackRate = 1; position = square.ScreenPosition; Path = new Stack<Square>(); fsm = new StateMachine(); animationMargin = new Vector2(Square.Width * 2, Square.Height * 2); }
public FleeState(AntsGame game, Ant agent) : base(game, agent) { }
public Map(AntsGame game, Square[,] squares) { this.game = game; Squares = squares; }
public AttackState(AntsGame game, Ant agent) : base(game, agent) { }
public FollowState(AntsGame game, Ant agent, Ant target) : base(game, agent) { this.target = target; }
public Hill(AntsGame game, Square square, int team) { this.game = game; Square = square; LoadTexture(); }
public State(AntsGame game, Ant agent) { Agent = agent; Game = game; }