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>();
 }