Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ABMWithState Struct Reference

#include <serverenvironment.h>

+ Collaboration diagram for ABMWithState:

Public Member Functions

 ABMWithState (ActiveBlockModifier *abm_)
 

Public Attributes

ActiveBlockModifierabm
 
float timer = 0.0f
 

Constructor & Destructor Documentation

◆ ABMWithState()

ABMWithState::ABMWithState ( ActiveBlockModifier * abm_)

References abm, ActiveBlockModifier::getTriggerInterval(), MYMAX, MYMIN, myrand_range(), and timer.

+ Here is the call graph for this function:

Member Data Documentation

◆ abm

ActiveBlockModifier* ABMWithState::abm

Referenced by ABMWithState().

◆ timer

float ABMWithState::timer = 0.0f

Referenced by ABMWithState().


The documentation for this struct was generated from the following files: