예제 #1
0
파일: Ice.cs 프로젝트: AntonC9018/hopper.cs
 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);
 }
예제 #2
0
파일: Ice.cs 프로젝트: AntonC9018/hopper.cs
 public static void Retouch(EntityFactory factory)
 {
     SlipperyComponent.AddInitTo(factory);
 }