Adding Parameters to the System

To add parameters to an object, your class must inherit from ParameterOperations. Both the base skill and base play classes inherit from ParameterOperations, so any new plays and skills already have this functionality given to them. From there you must follow three steps to make parameters work: Finally, your parameters must be read in at runtime. If you are writing a play or skill, then simply adding the play/skill to the AI correctly will do the trick. If you are writing some other object, you will need to make sure that its loadValues() function gets called at runtime, and whenever else parameters may need to be reloaded.