예제 #1
0
 public bool tick()
 {
     if (ToMoveTo != null)
     {
         CurrentTile.CurrentCharacter = null;
         CurrentTile.Walkable         = true;
         ToMoveTo.CurrentCharacter    = this;
         ToMoveTo = null;
         if (SpellReady)
         {
             ChooseSpell.refreshLocation(this);
         }
         return(true);
     }
     return(false);
 }
예제 #2
0
 public void showChooseSpell()
 {
     ChooseSpell.refreshLocation(this);
     gameManager.addRangeToForm(ChooseSpell);
     SpellReady = true;
 }