Describes the behavior of this Element. This is invoked when an Atom of this Element is chosen as the center of an EventWindow for an Event, which is given as a parameter.
- Parameters
-
window | The EventWindow describing the Event which is currently being executed. |
Implements MFM::Element< CC >.
Gets the 32-bit ARGB formatted color that all Atoms of this Element will be drawn with when they have lowlight drawing enabled.
- Returns
- The lowlight color to draw all Atoms of this Element with.
Reimplemented from MFM::Element< CC >.
Gets the 32-bit ARGB formatted color that all Atoms of this Element will be drawn with.
- Returns
- The 32-bit ARGB formatted color that all Atoms of this Element will be drawn with.
Implements MFM::Element< CC >.
Gets a string of a short description of the behavior of this Element . This will be displayed in some way when a user needs help with this Element . This string must not include newlines; they will be added when they are needed.
- Returns
- A helpful description string breifely describing the behavior of this Element.
Reimplemented from MFM::Element< CC >.
Determines how likely an Atom of this type is to be swapped with during diffusal.
- Returns
- an integral percentage, from 0 to 100, describing the desire of an atom of this type to be moved; 0 being impossible to move and 100 being completely fine with moving.
Implements MFM::Element< CC >.
The documentation for this class was generated from the following files: