Created
December 5, 2017 20:08
-
-
Save Kryzarel/0df0862f425ef455421772e239f2ae8d to your computer and use it in GitHub Desktop.
Changed all private variables, properties and methods to protected. Changed all methods methods to virtual. Showing only lines that were changed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected bool isDirty = true; | |
protected float lastBaseValue; | |
protected float _value; | |
public virtual float Value {} | |
protected readonly List<StatModifier> statModifiers; | |
public virtual void AddModifier(StatModifier mod); | |
public virtual bool RemoveModifier(StatModifier mod); | |
public virtual bool RemoveAllModifiersFromSource(object source); | |
protected virtual int CompareModifierOrder(StatModifier a, StatModifier b); | |
protected virtual float CalculateFinalValue(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment