Class: Modifier

Modifier()

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.

Constructor

new Modifier()

Author:
  • Harri Pellikka
Source:

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