Exemplo n.º 1
0
 public static void AddComponents(Entity subject)
 {
     Transform.AddTo(subject, Layers.FLOOR, 0);
     FactionComponent.AddTo(subject, Faction.Enemy);
     Damageable.AddTo(subject, new Health(1));
     SlipperyComponent.AddTo(subject);
 }
Exemplo n.º 2
0
 public static void Retouch(EntityFactory factory)
 {
     SlipperyComponent.AddInitTo(factory);
 }