Beispiel #1
0
 /// <summary>
 /// Decides what happens when you mouseOver unit
 /// </summary>
 /// <param name="direction">The direction your approaching from</param>
 public void MouseOver(int direction)
 {
     if (ItsTurn)
     {
         //Todo change cursor to defend
     }
     else if (AttackingSide != GraphicalBattlefield.getUnitWhoseTurnItIs().AttackingSide&& attackable)
     {
         //todo show wich side your attacking from visually
     }
 }