Esempio n. 1
0
 public bool interactWithTile(ITileInteract other)
 {
     // When interacting with other tile!
     if (other is UnitTile)
     {
         // TODO: Do something!
         print("Peace on you: " + ((other as UnitTile).name));
     }
     return(false);
 }
Esempio n. 2
0
 public bool interactWithTile(ITileInteract other)
 {
     // means nothing happen so return true
     return(true);
 }