public void Continue() { SpellEffectCallBack callback = App.Model.spellEffectModel.currentCallBack; App.Model.spellEffectModel.FinishSpellEffect(); callback(); }
public void FinishSpellEffect() { currentSpell = null; currentCallBack = null; currentFlipOptions.Clear(); currentResults.Clear(); activeOption = -1; App.View.spellEffectView.Continue(); }
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(); }
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); }