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>(); }
public Colony(ColonyInfo info, Actor self) { this.info = info; turreted = self.TraitsImplementing <Turreted>(); }