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

Private Member Functions

void HeatComfortAnimHandler (PlayerBase player)
 
void Update (float delta_time, HumanMovementState hms)
 
float GetEventTime (float hc_value, float threshold_low, float threshold_high, float low_min, float high_min, float low_max, float high_max)
 
void Process (float delta_time)
 

Private Attributes

const float TICK_INTERVAL = 2
 
float m_TimeSinceLastTick
 
float m_ProcessTimeAccuFreeze
 
float m_ProcessTimeAccuFreezeRattle
 
float m_ProcessTimeAccuHot
 
PlayerBase m_Player
 
float m_EventTimeFreeze = -1
 
float m_EventTimeFreezeRattle = -1
 
float m_EventTimeHot = -1
 
protected ref HumanMovementState m_MovementState = new HumanMovementState()
 
const float TIME_INTERVAL_HC_MINUS_LOW_MIN = 5
 
const float TIME_INTERVAL_HC_MINUS_LOW_MAX = 12
 
const float TIME_INTERVAL_HC_MINUS_HIGH_MIN = 15
 
const float TIME_INTERVAL_HC_MINUS_HIGH_MAX = 25
 
const float TIME_INTERVAL_HC_PLUS_LOW_MIN = 5
 
const float TIME_INTERVAL_HC_PLUS_LOW_MAX = 12
 
const float TIME_INTERVAL_HC_PLUS_HIGH_MIN = 15
 
const float TIME_INTERVAL_HC_PLUS_HIGH_MAX = 25
 

Constructor & Destructor Documentation

◆ HeatComfortAnimHandler()

void HeatComfortAnimHandler ( PlayerBase  player)
inlineprivate

References m_Player.

Member Function Documentation

◆ GetEventTime()

float GetEventTime ( float  hc_value,
float  threshold_low,
float  threshold_high,
float  low_min,
float  high_min,
float  low_max,
float  high_max 
)
inlineprivate

◆ Process()

◆ Update()

void Update ( float  delta_time,
HumanMovementState  hms 
)
inlineprivate

Field Documentation

◆ m_EventTimeFreeze

float m_EventTimeFreeze = -1
private

Referenced by Process().

◆ m_EventTimeFreezeRattle

float m_EventTimeFreezeRattle = -1
private

Referenced by Process().

◆ m_EventTimeHot

float m_EventTimeHot = -1
private

Referenced by Process().

◆ m_MovementState

protected ref HumanMovementState m_MovementState = new HumanMovementState()
private

◆ m_Player

PlayerBase m_Player
private

Referenced by HeatComfortAnimHandler(), and Process().

◆ m_ProcessTimeAccuFreeze

float m_ProcessTimeAccuFreeze
private

Referenced by Process().

◆ m_ProcessTimeAccuFreezeRattle

float m_ProcessTimeAccuFreezeRattle
private

Referenced by Process().

◆ m_ProcessTimeAccuHot

float m_ProcessTimeAccuHot
private

Referenced by Process().

◆ m_TimeSinceLastTick

float m_TimeSinceLastTick
private

Referenced by Update().

◆ TICK_INTERVAL

const float TICK_INTERVAL = 2
private

Referenced by Update().

◆ TIME_INTERVAL_HC_MINUS_HIGH_MAX

const float TIME_INTERVAL_HC_MINUS_HIGH_MAX = 25
private

Referenced by Process().

◆ TIME_INTERVAL_HC_MINUS_HIGH_MIN

const float TIME_INTERVAL_HC_MINUS_HIGH_MIN = 15
private

Referenced by Process().

◆ TIME_INTERVAL_HC_MINUS_LOW_MAX

const float TIME_INTERVAL_HC_MINUS_LOW_MAX = 12
private

Referenced by Process().

◆ TIME_INTERVAL_HC_MINUS_LOW_MIN

const float TIME_INTERVAL_HC_MINUS_LOW_MIN = 5
private

Referenced by Process().

◆ TIME_INTERVAL_HC_PLUS_HIGH_MAX

const float TIME_INTERVAL_HC_PLUS_HIGH_MAX = 25
private

Referenced by Process().

◆ TIME_INTERVAL_HC_PLUS_HIGH_MIN

const float TIME_INTERVAL_HC_PLUS_HIGH_MIN = 15
private

◆ TIME_INTERVAL_HC_PLUS_LOW_MAX

const float TIME_INTERVAL_HC_PLUS_LOW_MAX = 12
private

Referenced by Process().

◆ TIME_INTERVAL_HC_PLUS_LOW_MIN

const float TIME_INTERVAL_HC_PLUS_LOW_MIN = 5
private

Referenced by Process().


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