* @param mainFrame main frame reference.
* @param game game reference.
*/
public BoardPanel(MainFrame mainFrame, GameEnvironment game) {
super();
this.action = new BoardActionImpl(mainFrame, this, game);
this.board = game.board();
this.game = game;
this.setBackground(Color.BLACK);
this.setPreferredSize(new Dimension(600, 600));