|
typedef BitField< BitVector
< BITS >, VD::U32,
INFLAMMATION_LEN,
INFLAMMATION_POS > | AFInflammationLevel |
|
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.
- Returns
- The 32-bit ARGB formatted color that all Atoms of this Element will be drawn with.
Implements MFM::Element< CC >.
Used during rendering, will select a color for any Atom of this Element to be rendered with. This should be overridden if wanting to use a gradient or some other variable color based on the body of the specified Atom .
- Parameters
-
atom | The Atom of this element of which to find a color for. |
selector | An additional argument which may be used to determine the color of which to render atom |
- Returns
- The 32-bit ARGB color of which to render
atom
with.
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 file: