Esempio n. 1
0
 bool NeighbourIsDeadShore(Bridge neighbour)
 {
     return(neighbour != null && info.ShorePieces.Contains(neighbour.type) && neighbour.health.IsDead);
 }
Esempio n. 2
0
 public LegacyBridgeHut(ActorInitializer init)
 {
     Bridge = init.Get <ParentActorInit>().ActorValue.Trait <Bridge>();
     Bridge.AddHut(this);
     FirstBridge = Bridge.Enumerate(0, true).Last();
 }