public void SetMain() { Main = this; }
public bool move(int Dx, int Dy, Piece p, Piece captureOrCastlePiece, Chessboard cb) { return(p.move(Dx, Dy, captureOrCastlePiece, cb)); }
public Game() { this.users = new Users(); this.chessboard = MountChessboard(); }
public List <Position> getPossibleMoves(Position from) { Figure SelectedFigure = Chessboard.GetFigureFromPosition(from); return(SelectedFigure.PossibleMoves(Chessboard)); }