public static HealthMeter Create(MeterInfo info, bool inGamePlay) { var meter = new HealthMeter(); meter.LoadInfo(info); meter.inGamePlay = inGamePlay; if (inGamePlay) { allMeters.Add(meter); } return(meter); }
public static HealthMeter Create(MeterInfo info, bool inGamePlay) { var meter = new HealthMeter(); meter.LoadInfo(info); meter.inGamePlay = inGamePlay; if (inGamePlay) allMeters.Add(meter); return meter; }