public GameEffectInstance ChangeInstance(GameEffectInstance instance, params string[] parameters) { instance.Parameters = instance.Parameters.Parse(parameters); OnChange.Raise(instance); return(instance); }
public GameEffectInstance ChangeInstance(GameEffectInstance instance, Action <GameEffectInstance> changeToMake) { changeToMake?.Invoke(instance); OnChange.Raise(instance); return(instance); }
public void AnnounceChange(GameEffectInstance instance) { OnChange.Raise(instance); }