DayZ 1.24
Loading...
Searching...
No Matches
BotStateIdle Class Reference
Inheritance diagram for BotStateIdle:
[legend]
Collaboration diagram for BotStateIdle:
[legend]

Private Member Functions

void BotStateIdle (Bot bot=NULL, BotStateBase parent=NULL)
 
override bool IsIdle ()
 
- Private Member Functions inherited from BotStateBase
void BotTimedWait (Bot bot=NULL, BotStateBase parent=NULL, float timeout=3.0)
 
override void OnEntry (BotEventBase e)
 
override void OnExit (BotEventBase e)
 
override void OnUpdate (float dt)
 
void OnTimeout ()
 

Additional Inherited Members

- Private Attributes inherited from BotStateBase
float m_Timeout = 3.0
 
bool m_Periodic = true
 

Detailed Description

Definition at line 129 of file BotStates.c.

Constructor & Destructor Documentation

◆ BotStateIdle()

void BotStateIdle::BotStateIdle ( Bot bot = NULL,
BotStateBase parent = NULL )
inlineprivate

Definition at line 131 of file BotStates.c.

131{ m_Bot = bot; m_Owner = m_Bot.m_Owner; m_ParentState = parent; }
PlayerBase m_Owner
Definition Bot.c:20
BotStateBase m_ParentState
bot that this state belongs to
Definition BotStates.c:14
PlayerBase m_Owner
Definition BotStates.c:12
Bot m_Bot
man that this state belongs to
Definition BotStates.c:13

References BotStateBase::m_Bot, Bot::m_Owner, BotStateBase::m_Owner, and BotStateBase::m_ParentState.

Member Function Documentation

◆ IsIdle()

override bool BotStateIdle::IsIdle ( )
inlineprivate

Definition at line 133 of file BotStates.c.

133{ return true; }

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