Beispiel #1
0
 public void TileEnter(bool defender)
 {
     if (status == tileStatus.empty)
     {
         if (defender)
         {
             status = tileStatus.defender;
         }
         else
         {
             status = tileStatus.attacker;
         }
     }
 }
Beispiel #2
0
 public void TileLeave()
 {
     status = tileStatus.empty;
 }