Exemplo n.º 1
0
 /// <summary>
 /// Assumes the selected character has already been defined.
 /// </summary>
 public void PrimeSpell(SpellData spell)
 {
     primedSpell = spell;
     tileHighlighter.ClearHighlightedTiles();
     tileHighlighter.HighlightTile(selectedCharacter.currTile, HighlightStyle.Border, Color.green);
     tileHighlighter.HighlightTilesInRange(selectedCharacter.currTile, primedSpell.targetRange, new Color(0f, 0.5f, 1f), false);
 }
 /// <summary>
 /// Assumes the selected character has already been defined.
 /// </summary>
 public void PrimeSpell(SpellData spell)
 {
     primedSpell = spell;
     tileHighlighter.HighlightTile(selectedCharacter.currTile, HighlightStyle.Border, Color.green);
 }