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; }
public Effect GetEffect(EffectParams effectParams) { return effectManager.GetEffect(effectParams); }
public FeatData(string identifier, string name, string imageName, List<FeatType> types, EffectParams effectParams) : this() { Identifier = identifier; Name = name; BaseImageName = imageName; Types = types; EffectParams = effectParams; }
public Effect GetEffect(EffectParams effectParams) { return new Effect(effectsById[effectParams.Identifier], effectParams); }