Пример #1
0
 public Colony(ActorInitializer init, ColonyInfo info)
 {
     this.info            = info;
     health               = init.Self.Trait <Health>();
     health.RemoveOnDeath = false;             // TODO: Replace this hack.
     rallyPoint           = init.Self.TraitOrDefault <RallyPoint>();
 }
Пример #2
0
 public Colony(ColonyInfo info, Actor self)
 {
     this.info = info;
     turreted  = self.TraitsImplementing <Turreted>();
 }