Beispiel #1
0
    private void AddModifier(LevelModifierType type, string data)
    {
        var modifier = modifierFactory.Create(type);

        if (modifier != null)
        {
            modifiers.Add(modifier);
            modifier.SetData(data);
        }
    }
 public LevelModifierData(LevelModifierType type, string data)
 {
     this.type = type;
     this.data = data;
 }
 public LevelModifierAttribute(LevelModifierType type)
 {
     ModifierType = type;
 }
 public AddLevelModifierEvent(LevelModifierType type, string data)
 {
     this.type = type;
     this.data = data;
 }