public static void Wall(ent entity) { entity.Set(Tag.Wall); entity.Get <ComponentObject>(); entity.InitComponentObject(); var cHealth = entity.Get <ComponentHealth>(); cHealth.count = 5; }
public static void Exit(ent entity) { entity.Set(Tag.Exit); entity.Get <ComponentObject>(); entity.InitComponentObject(); }