Пример #1
0
 public Effect(EffectManager.EffectData effectData, EffectParams effectParams)
 {
     Name = effectData.Name;
     ImageName = effectData.BaseImageName;
     Identifier = effectData.Identifier;
     Incapacitate = effectData.Incapacitate;
     Length = effectParams.Length;
     RemainingTurns = effectParams.Length;
 }
Пример #2
0
 public Effect GetEffect(EffectParams effectParams)
 {
     return effectManager.GetEffect(effectParams);
 }
Пример #3
0
 public FeatData(string identifier, string name, string imageName, List<FeatType> types, EffectParams effectParams)
     : this()
 {
     Identifier = identifier;
     Name = name;
     BaseImageName = imageName;
     Types = types;
     EffectParams = effectParams;
 }
Пример #4
0
 public Effect GetEffect(EffectParams effectParams)
 {
     return new Effect(effectsById[effectParams.Identifier], effectParams);
 }