DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
Hungry Class Reference

#include <Hungry.h>

Inheritance diagram for Hungry:
NotifierBase

Private Member Functions

void  Hungry (NotifiersManager manager)
 
void  DisplayTendency (float delta)
 
private void  DisplayBadge ()
 
private void  HideBadge ()
 
private void  DisplayMessage ()
 
private void  PlayAnimation ()
 
private void  PlaySound ()
 
int  GetNotifierType ()
 

Private Attributes

private const float  ENERGIZED_TRESHOLD = 2000
 
private const float  HUNGRY_TRESHOLD = 1000
 
private const float  VERY_HUNGRY_TRESHOLD = 500
 
private const float  FATALLY_HUNGRY_TRESHOLD = 0
 
private const float  DEC_TRESHOLD_LOW = -0.5
 
private const float  DEC_TRESHOLD_MED = -1
 
private const float  DEC_TRESHOLD_HIGH = -2
 
private const float  INC_TRESHOLD_LOW = 0.5
 
private const float  INC_TRESHOLD_MED = 1
 
private const float  INC_TRESHOLD_HIGH = 2
 

Constructor & Destructor Documentation

void Hungry::Hungry ( NotifiersManager  manager )
private

Member Function Documentation

void Hungry::DisplayTendency ( float  delta )
private
private void Hungry::DisplayBadge ( )
private
private void Hungry::HideBadge ( )
private
private void Hungry::DisplayMessage ( )
private
private void Hungry::PlayAnimation ( )
private
private void Hungry::PlaySound ( )
private
int Hungry::GetNotifierType ( )
private

References NTF_HUNGRY.

Member Data Documentation

private const float Hungry::ENERGIZED_TRESHOLD = 2000
private

Referenced by DisplayBadge().

private const float Hungry::HUNGRY_TRESHOLD = 1000
private

Referenced by DisplayBadge(), and DisplayMessage().

private const float Hungry::VERY_HUNGRY_TRESHOLD = 500
private
private const float Hungry::FATALLY_HUNGRY_TRESHOLD = 0
private
private const float Hungry::DEC_TRESHOLD_LOW = -0.5
private

Referenced by DisplayTendency().

private const float Hungry::DEC_TRESHOLD_MED = -1
private

Referenced by DisplayTendency().

private const float Hungry::DEC_TRESHOLD_HIGH = -2
private

Referenced by DisplayTendency().

private const float Hungry::INC_TRESHOLD_LOW = 0.5
private

Referenced by DisplayTendency().

private const float Hungry::INC_TRESHOLD_MED = 1
private

Referenced by DisplayTendency().

private const float Hungry::INC_TRESHOLD_HIGH = 2
private

Referenced by DisplayTendency().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)