public Bishop() { this.HitPoints = 1; this._MoveBehavior.MoveType = MoveBehavior.MoveTypes.Diagonal; var attackBehavior = new MoveAttack(this._MoveBehavior); attackBehavior.Damage = 1; this._AttackBehavior = attackBehavior; }
public Queen() { this.HitPoints = 1; this._MoveBehavior.MoveType = MoveBehavior.MoveTypes.Diagonal | MoveBehavior.MoveTypes.Linear; var attackBehavior = new MoveAttack(this._MoveBehavior); attackBehavior.Damage = 1; this._AttackBehavior = attackBehavior; }
public PansyC() { this.HitPoints = 1; this._MoveBehavior.MoveType = MoveBehavior.MoveTypes.Standard; this.MoveDistance = 3; var attackBehavior = new MoveAttack(this._MoveBehavior); attackBehavior.Damage = 1; this._AttackBehavior = attackBehavior; }
public SoldierA() { this.HitPoints = 5 ; this._MoveBehavior.MoveType = MoveBehavior.MoveTypes.Standard; this.MoveDistance = 2; var attackBehavior = new MoveAttack(this._MoveBehavior); attackBehavior.Damage = 1; this._AttackBehavior = attackBehavior; }