public void Continue()
    {
        SpellEffectCallBack callback = App.Model.spellEffectModel.currentCallBack;

        App.Model.spellEffectModel.FinishSpellEffect();
        callback();
    }
Пример #2
0
 public void FinishSpellEffect()
 {
     currentSpell    = null;
     currentCallBack = null;
     currentFlipOptions.Clear();
     currentResults.Clear();
     activeOption = -1;
     App.View.spellEffectView.Continue();
 }
Пример #3
0
 public void StartFlipEffect(Spell s, List <string> options, int active, List <int> results, SpellEffectCallBack callback)
 {
     currentSpell       = s;
     currentFlipOptions = options;
     activeOption       = active;
     currentResults     = results;
     currentCallBack    = callback;
     App.View.spellEffectView.StartFlipEffect();
 }
Пример #4
0
 public void StartSpellEffect(Spell s, SpellEffectCallBack callback)
 {
     currentSpell    = s;
     currentCallBack = callback;
     App.View.spellEffectView.StartSpellEffect();
 }
 public void StartSpellEffect(Spell s, SpellEffectCallBack callback)
 {
     App.Model.spellEffectModel.StartSpellEffect(s, callback);
 }
 public void StartFlipEffect(Spell s, List <string> options, int activeOption, List <int> results, SpellEffectCallBack callback)
 {
     App.Model.spellEffectModel.StartFlipEffect(s, options, activeOption, results, callback);
 }