Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public Effect GetEffect(EffectParams effectParams)
 {
     return effectManager.GetEffect(effectParams);
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public Effect GetEffect(EffectParams effectParams)
 {
     return new Effect(effectsById[effectParams.Identifier], effectParams);
 }