public WithBuildingPlacedAnimation(Actor self, WithBuildingPlacedAnimationInfo info)
 {
     this.info     = info;
     renderSimple  = self.Trait <RenderSimple>();
     buildComplete = !self.HasTrait <Building>();
 }
示例#2
0
 public WithBuildingPlacedAnimation(Actor self, WithBuildingPlacedAnimationInfo info)
 {
     this.info     = info;
     wsb           = self.Trait <WithSpriteBody>();
     buildComplete = !self.Info.HasTraitInfo <BuildingInfo>();
 }