Example #1
0
 public static void AddComponents(Entity subject)
 {
     Stats.AddTo(subject, Registry.Global.Stats._map);
     Transform.AddTo(subject, Layers.FLOOR, 0);
     FactionComponent.AddTo(subject, Faction.Environment);
     Damageable.AddTo(subject, new Health(1));
     PinningComponent.AddTo(subject);
 }
Example #2
0
 public static void Retouch(EntityFactory factory)
 {
     PinningComponent.AddInitTo(factory);
 }