MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
Public Member Functions | |
virtual u32 | GetBombRange () const =0 |
virtual u32 | LocalPhysicsColor (const T &atom, u32 selector) const =0 |
AbstractElement_ForkBomb (const UUID &uuid) | |
virtual u32 | PercentMovable (const T &you, const T &me, const SPoint &offset) const |
virtual u32 | DefaultPhysicsColor () const |
virtual void | Behavior (EventWindow< CC > &window) const |
![]() | |
Element (const UUID &uuid) | |
void | AllocateType () |
u32 | GetType () const |
const char * | GetAtomicSymbol () const |
const char * | GetName () const |
virtual void | AppendDescription (const T *atom, OString64 &desc) const |
bool | IsType (u32 type) const |
const UUID & | GetUUID () const |
virtual const T & | GetDefaultAtom () const |
virtual u32 | PhysicsColor () const |
virtual const char * | GetDescription () const |
virtual u32 | DefaultLowlightColor () const |
void | ToggleLowlightPhysicsColor () |
virtual u32 | Diffusability (EventWindow< CC > &ew, SPoint nowAt, SPoint maybeAt) const |
u32 | NoDiffusability (EventWindow< CC > &ew, SPoint nowAt, SPoint maybeAt) const |
const ElementParameters< CC > & | GetElementParameters () const |
ElementParameters< CC > & | GetElementParameters () |
const AtomicParameters< CC > & | GetAtomicParameters () const |
AtomicParameters< CC > & | GetAtomicParameters () |
Additional Inherited Members | |
![]() | |
static const u32 | COMPLETE_DIFFUSABILITY = 1000 |
![]() | |
virtual T | BuildDefaultAtom () const |
const BitVector < P::BITS_PER_ATOM > & | GetBits (const T &atom) const |
BitVector< P::BITS_PER_ATOM > & | GetBits (T &atom) const |
bool | IsValidAtomicSymbol (const char *symbol) |
void | SetAtomicSymbol (const char *symbol) |
void | SetName (const char *name) |
void | Diffuse (EventWindow< CC > &window) const |
|
inlinevirtual |
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.
window | The EventWindow describing the Event which is currently being executed. |
Implements MFM::Element< CC >.
Reimplemented in MFM::Element_ForkBomb3< CC >.
|
inlinevirtual |
Gets the 32-bit ARGB formatted color that all Atoms of this Element will be drawn with.
Implements MFM::Element< CC >.
|
pure virtual |
From 0 (no forking) up to EVENT_WINDOW_RADIUS (maximum speed forking)
Implemented in MFM::Element_ForkBomb1< CC >, MFM::Element_ForkBomb2< CC >, and MFM::Element_ForkBomb3< CC >.
|
pure virtual |
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 .
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 |
atom
with. Reimplemented from MFM::Element< CC >.
Implemented in MFM::Element_ForkBomb3< CC >, MFM::Element_ForkBomb1< CC >, and MFM::Element_ForkBomb2< CC >.
|
inlinevirtual |
Determines how likely an Atom of this type is to be swapped with during diffusal.
Implements MFM::Element< CC >.