示例#1
0
 public override float GetStat(FloatStatType statType)
 {
     switch (statType)
     {
         case FloatStatType.Health:
             return Minion.Health;
         default:
             return 0;
     }
 }
示例#2
0
 public override float GetStat(FloatStatType statType)
 {
     return 0;
 }
示例#3
0
 public abstract float GetStat(FloatStatType statType);
示例#4
0
 public override float GetStat(FloatStatType statType)
 {
     switch (statType)
     {
         case FloatStatType.Health:
             return HeroClient.Health;
         case FloatStatType.Mana:
             return HeroClient.Mana;
         default:
             throw new ArgumentOutOfRangeException("StatType", statType, null);
     }
 }