MCPcopy Create free account
hub / github.com/PCGen/pcgen / addVariable

Method addVariable

code/src/java/pcgen/core/Description.java:148–155  ·  view source on GitHub ↗

Adds a variable to use in variable substitution. @param aVariable

(final String aVariable)

Source from the content-addressed store, hash-verified

146 * @param aVariable
147 */
148 public void addVariable(final String aVariable)
149 {
150 if (theVariables == null)
151 {
152 theVariables = new ArrayList<>();
153 }
154 theVariables.add(aVariable);
155 }
156
157 /**
158 * Gets the description string after having tested all prereqs and

Calls 1

addMethod · 0.65