Methods
disable()
Disables this modifier, i.e. makes it inactive
- Source:
enable()
Enables this modifier, i.e. makes it active
- Source:
isEnabled()
Checks whether or not this modifier is enabled
- Source:
Returns:
True if enabled, false otherwise
A base class for all the modifiers.
A modifier does "something" to a component (generator, automator, the world etc), for example speeds up, slows down, increases production or something similar.
Disables this modifier, i.e. makes it inactive
Enables this modifier, i.e. makes it active
Checks whether or not this modifier is enabled
True if enabled, false otherwise