LoadInfo() приватный Метод

private LoadInfo ( MeterInfo info ) : void
info MegaMan.Common.MeterInfo
Результат void
Пример #1
0
        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);
        }
Пример #2
0
 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;
 }