Esempio n. 1
0
        private void createWindows()
        {
            inv_win     = new Window("inv");
            inv_control = new InventoryWindow();
            inv_win.addControl(inv_control);
            Parent.Parent.Parent.Parent.Controls.Add(inv_win);

            spellbook_win     = new Window("spellbook");
            spellbook_control = new SpellbookWindow();
            spellbook_win.addControl(spellbook_control);
            Parent.Parent.Parent.Parent.Controls.Add(spellbook_win);
        }
Esempio n. 2
0
        public void createWindows()
        {
            char_win     = new Window("char");
            char_control = new CharacterWindow();
            char_win.addControl(char_control);
            Parent.Parent.Parent.Parent.Parent.Parent.Parent.Controls.Add(char_win);

            inv_win     = new Window("inv");
            inv_control = new InventoryWindow();
            inv_win.addControl(inv_control);
            Parent.Parent.Parent.Parent.Parent.Parent.Parent.Controls.Add(inv_win);

            spellbook_win     = new Window("spellbook");
            spellbook_control = new SpellbookWindow();
            spellbook_win.addControl(spellbook_control);
            Parent.Parent.Parent.Parent.Parent.Parent.Parent.Controls.Add(spellbook_win);
        }