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

Private Member Functions

override void Init ()
 
override void OnActivate (PlayerBase player)
 
override void OnReconnect (PlayerBase player)
 
override void OnDeactivate (PlayerBase player)
 
override bool DeactivateCondition (PlayerBase player)
 
override void OnTick (PlayerBase player, float deltaT)
 

Private Attributes

private const float HEALTHY_LEG = 100
 
private int currentState = -1
 
private const float TIME_TO_UPDATE = 0.5
 
private float elapsedTime = TIME_TO_UPDATE + 1
 

Member Function Documentation

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase  player)
inlineprivate

References HEALTHY_LEG.

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase  player)
inlineprivate

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase  player)
inlineprivate

◆ OnReconnect()

override void OnReconnect ( PlayerBase  player)
inlineprivate

◆ OnTick()

override void OnTick ( PlayerBase  player,
float  deltaT 
)
inlineprivate

Field Documentation

◆ currentState

private int currentState = -1
private

◆ elapsedTime

private float elapsedTime = TIME_TO_UPDATE + 1
private

◆ HEALTHY_LEG

private const float HEALTHY_LEG = 100
private

Referenced by DeactivateCondition().

◆ TIME_TO_UPDATE

private const float TIME_TO_UPDATE = 0.5
private

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