Esempio n. 1
0
 public CastManager(IWizardState wiz)
 {
     currentCast   = "";
     wizard        = wiz;
     currentSpells = wizard.GetAllUnlockedSpells();
     currentSpell  = currentSpells.First();
 }
 protected void SetNextState(IWizardState nextState)
 {
     stateHolder.SetNextState(nextState);
 }