예제 #1
0
        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);
        }
예제 #2
0
 public MenuTile(int x, int y, String filename, BoardObject argBoard) : base(x, y, filename)
 {
     board = (MenuBoard)argBoard;
 }
예제 #3
0
        public SecWarsGameLogic_old()
        {
            MenuBoard menu = new MenuBoard("win board", -1);

            menu.setLogic(this);
        }