public void OpenSpellbookPanel(Item_Spellbook book) { _spellbookScreenActive = true; _spellbookInterface = new SpellbookInterface(this); _spellbookPanel = new SpellbookPanel(this, _spellbookInterface); _spellbookInterface.ReadSpellbook(book); }
public SpellbookPanel(PlayScene scene, SpellbookInterface spellbookInterface) { _scene = scene; _interface = spellbookInterface; _windowPosition = new IntVector2(); _windowSize = new IntVector2(); _descriptionPosition = new IntVector2(); _descriptionSize = new IntVector2(); _instructionsPosition = new IntVector2(); _instructionsSize = new IntVector2(); _windowPosition.X = 0; _windowPosition.Y = 0; _windowSize.X = 50; _windowSize.Y = 30; _descriptionPosition.X = 21; _descriptionPosition.Y = 6; _descriptionSize.X = 60; _instructionsPosition.X = 21; _instructionsPosition.Y = 20; _instructionsSize.X = 60; }
public void CloseSpellbookPanel() { _spellbookScreenActive = false; _spellbookInterface = null; _spellbookPanel = null; }
public void OpenSpellbookPanel() { _spellbookScreenActive = true; _spellbookInterface = new SpellbookInterface(this); _spellbookPanel = new SpellbookPanel(this, _spellbookInterface); }