public void endGame(BoardObject o) { MenuBoard menu; if (isFinished(o)) { menu = new MenuBoard("win board", 0); } else { menu = new MenuBoard("win board", 1); } menu.setLogic(this); }
public MenuTile(int x, int y, String filename, BoardObject argBoard) : base(x, y, filename) { board = (MenuBoard)argBoard; }
public SecWarsGameLogic_old() { MenuBoard menu = new MenuBoard("win board", -1); menu.setLogic(this); }