示例#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
文件: Colony.cs 项目: Dzierzan/OpenSA
 public Colony(ColonyInfo info, Actor self)
 {
     this.info = info;
     turreted  = self.TraitsImplementing <Turreted>();
 }