Exemplo n.º 1
0
        public Menu_Inventory(IFloorDisplay parent, Menu_Target targetMenu, int centerX, int centerY)
        {
            this.parent     = parent;
            this.targetMenu = targetMenu;
            this.centerX    = centerX;
            this.centerY    = centerY;

            this.inventoryConsole = new RLConsole(inventoryWidth, inventoryHeight);
        }
Exemplo n.º 2
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);
        }