WorldSettingsManager class
A class that handles the available world settings and using them
When making a custom world settings, make sure to register it or else some features might not work
- Inheritance
-
- Object
- Manager<
WorldSettings> - WorldSettingsManager
Constructors
- WorldSettingsManager()
-
const
Properties
-
activeTypes
→ List<
WorldSettings> -
Returns all active world settings
no setteroverride
-
allTypes
→ List<
WorldSettings> -
Returns all the world settings
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteType(
WorldSettings worldSettings) → void -
Removes
worldSettingsfrom the active world settings and from all world settings listoverride -
getType(
String name) → WorldSettings -
Returns the corresponding world settings from all world settings from name
nameoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerType(
WorldSettings worldSettings) → void -
Adds
worldSettingsto the list of all world settings and active world settingsoverride -
toString(
) → String -
A string representation of this object.
inherited
-
unregisterType(
WorldSettings worldSettings) → void -
Removes
worldSettingsonly from the active settingsoverride
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited