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