Class ValueMap
java.lang.Object
meteordevelopment.starscript.value.ValueMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the variable supplier for the provided name.keys()Returns a set of all variable names.Sets a boolean variable supplier that always returns the same value for the provided name.Sets a number variable supplier that always returns the same value for the provided name.Sets a string variable supplier that always returns the same value for the provided name.Sets a variable supplier for the provided name.Sets a function variable supplier that always returns the same value for the provided name.Sets a variable supplier that always returns the same value for the provided name.Sets a map variable supplier that always returns the same value for the provided name.
-
Constructor Details
-
ValueMap
public ValueMap()
-
-
Method Details
-
set
Sets a variable supplier for the provided name. -
set
Sets a variable supplier that always returns the same value for the provided name. -
set
Sets a boolean variable supplier that always returns the same value for the provided name. -
set
Sets a number variable supplier that always returns the same value for the provided name. -
set
Sets a string variable supplier that always returns the same value for the provided name. -
set
Sets a function variable supplier that always returns the same value for the provided name. -
set
Sets a map variable supplier that always returns the same value for the provided name. -
get
Gets the variable supplier for the provided name. -
keys
Returns a set of all variable names.
-