20 package net.sf.gridarta.plugin.parameter;
25 import org.jetbrains.annotations.NotNull;
60 return visitor.visit(
this);
65 if (stringValue.equals(
"true")) {
67 }
else if (stringValue.equals(
"false")) {
111 if (this.falseText.equals(falseText)) {
123 if (this.trueText.equals(trueText)) {
String getFalseText()
Returns the string representation of the "false" value.
void setFalseText(@NotNull final String falseText)
Sets the string representation of the "false" value.
Abstract base class for PluginParameter implementations for which the string representation of the va...
boolean setStringValue(@NotNull final String stringValue)
Base package of all Gridarta classes.
A PluginParameter that holds a boolean value.
Reflects a game object (object on a map).
String trueText
The string representation of the "true" value.
GameObjects are the objects based on Archetypes found on maps.
Interface for visitors of PluginParameter instances.
void setTrueText(@NotNull final String trueText)
Sets the string representation of the "true" value.
String getParameterType()
String getTrueText()
Returns the string representation of the "true" value.
String falseText
The string representation of the "false" value.
BooleanParameter()
Creates a new instance.
static final String PARAMETER_TYPE
The string representation of this parameter type.
void setValue( @NotNull final V value)
Updates the parameter value.
Interface for MapArchObjects.