public float GetGameValueComponent(string name, GameValue.GameValueComponent component) { GameValue gv = GetGameValueObject(name); if (gv == null) { return(0); } return(gv.GetValueComponent(component)); }
public GameValueModifier(GameValue.GameValueComponent modifyValueComponent, ModifyBehavior modifyBehavior, float modifyValue) { this.modifyValueComponent = modifyValueComponent; this.modifyBehavior = modifyBehavior; this.modifyValue = modifyValue; }