예제 #1
0
        public Menu_Floor(Menu_Main parent, DungeonState dungeon)
        {
            this.parent        = parent;
            this.dungeon       = dungeon;
            this.examineMenu   = new Menu_Examine(this);
            this.targetMenu    = new Menu_Target(this);
            this.inventoryMenu = new Menu_Inventory(this, targetMenu, this.parent.Width / 2, this.parent.Height / 2);
            this.targetMenu.Init(this.inventoryMenu);

            arenaConsole     = new RLConsole(Menu_Floor.arenaConsoleWidth, Menu_Floor.arenaConsoleHeight);
            this.infoConsole = new RLConsole(Menu_Floor.infoConsoleWidth, Menu_Floor.infoConsoleHeight);
            status1Console   = new RLConsole(Menu_Floor.statusWidth, Menu_Floor.statusHeight);
            this.logConsole  = new RLConsole(Menu_Floor.statusWidth, Menu_Floor.statusHeight);
        }
예제 #2
0
 public Menu_NextLevel(Menu_Main mainMenu, Menu_Floor floorMenu, int nextWave)
 {
     this.mainMenu  = mainMenu;
     this.floorMenu = floorMenu;
     this.nextWave  = nextWave;
 }