public QueenMove()
 {
     verticalMoves   = new VerticalMoves();
     horizontalMoves = new HorizontalMoves();
     diagonalMoves   = new DiagonalMoves();
 }
Esempio n. 2
0
 //This can be called through facade class using dependency injection
 public RookMove()
 {
     horizontalMove = new HorizontalMoves();
     verticalMoves  = new VerticalMoves();
 }