PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
BrainDiseaseMdfr Class Reference

Private Member Functions

override void Init ()
 
override string GetDebugText ()
 
override protected bool ActivateCondition (PlayerBase player)
 
override protected void OnActivate (PlayerBase player)
 
override protected void OnDeactivate (PlayerBase player)
 
override protected bool DeactivateCondition (PlayerBase player)
 
override protected void OnTick (PlayerBase player, float deltaT)
 

Private Attributes

const int SHAKE_INTERVAL_MIN = 1
 
const int SHAKE_INTERVAL_MAX = 4
 
float m_Time
 
float m_ShakeTime
 

Static Private Attributes

static const int AGENT_THRESHOLD_ACTIVATE = 2000
 
static const int AGENT_THRESHOLD_DEACTIVATE = 0
 

Member Function Documentation

◆ ActivateCondition()

override protected bool ActivateCondition ( PlayerBase  player)
inlineprivate

◆ DeactivateCondition()

override protected bool DeactivateCondition ( PlayerBase  player)
inlineprivate

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

◆ Init()

◆ OnActivate()

override protected void OnActivate ( PlayerBase  player)
inlineprivate

◆ OnDeactivate()

override protected void OnDeactivate ( PlayerBase  player)
inlineprivate

◆ OnTick()

override protected void OnTick ( PlayerBase  player,
float  deltaT 
)
inlineprivate

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 2000
staticprivate

Referenced by ActivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 0
staticprivate

◆ m_ShakeTime

float m_ShakeTime
private

Referenced by OnTick().

◆ m_Time

float m_Time
private

Referenced by OnTick().

◆ SHAKE_INTERVAL_MAX

const int SHAKE_INTERVAL_MAX = 4
private

Referenced by OnTick().

◆ SHAKE_INTERVAL_MIN

const int SHAKE_INTERVAL_MIN = 1
private

Referenced by OnTick().


The documentation for this class was generated from the following file: