public ChessMove(Vector2 vector, MoveBehavior.MoveCapabilities moveCapabilities) { this.X = vector.X; this.Y = vector.Y; this.moveCapabilities = moveCapabilities; }
public MoveAttack(MoveBehavior behavior) : base() { this.MoveBehavior = behavior; }
/// <summary> /// Default constructor. /// </summary> public Entity() { _AttackBehavior = new AttackBehavior(); _MoveBehavior = new MoveBehavior(); Forward = new Vector2(0, 1); // Default to facing down }