Beispiel #1
0
 public override void InitMovement()
 {
     Movement = new Default();
     Movement = new KnightMovement(Movement);
 }
Beispiel #2
0
 public MoveValidator()
 {
     MovementRules[typeof(Pawn)]   = new PawnMovement();
     MovementRules[typeof(Knight)] = new KnightMovement();
 }