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