Пример #1
0
 public BridgeHut(ActorInitializer init)
 {
     Bridge = init.Get<ParentActorInit>().value.Trait<Bridge>();
     Bridge.Hut = this;
     firstBridge = new Lazy<Bridge>(() => Bridge.Enumerate(0, true).Last());
 }
Пример #2
0
 public BridgeHut(ActorInitializer init)
 {
     Bridge = init.Get<ParentActorInit>().ActorValue.Trait<Bridge>();
     Bridge.AddHut(this);
     FirstBridge = Bridge.Enumerate(0, true).Last();
 }