Space Engineers
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Sandbox.Game.AI.MyAgentBot Class Reference
Inheritance diagram for Sandbox.Game.AI.MyAgentBot:
Sandbox.Game.AI.IMyEntityBot Sandbox.Game.AI.IMyBot Sandbox.Game.AI.MyAnimalBot Sandbox.Game.AI.MyHumanoidBot

Classes

class  MyLastActions
 
class  SLastRunningState
 

Public Member Functions

void ReturnToLastMemory ()
 
 MyAgentBot (MyPlayer player, MyBotDefinition botDefinition)
 
virtual void Init (MyObjectBuilder_Bot botBuilder)
 
virtual void InitActions (ActionCollection actionCollection)
 
virtual void InitLogic (MyBotLogic botLogic)
 
virtual void Spawn (Vector3D?spawnPosition, bool spawnedByPlayer)
 
virtual void Cleanup ()
 
void Update ()
 
virtual void Reset ()
 
virtual MyObjectBuilder_Bot GetObjectBuilder ()
 
virtual void DebugDraw ()
 
virtual void DebugGoto (Vector3D point, MyEntity entity=null)
 

Public Attributes

MyLastActions LastActions = new MyLastActions()
 

Protected Member Functions

virtual void Controller_ControlledEntityChanged (IMyControllableEntity oldEntity, IMyControllableEntity newEntity)
 
virtual void UpdateInternal ()
 

Protected Attributes

MyPlayer m_player
 
MyBotNavigation m_navigation
 
ActionCollection m_actionCollection
 
MyBotMemory m_botMemory
 
MyAgentActions m_actions
 
MyAgentDefinition m_botDefinition
 
MyAgentLogic m_botLogic
 

Properties

MyPlayer Player [get]
 
MyBotNavigation Navigation [get]
 
MyCharacter AgentEntity [get]
 
MyEntity BotEntity [get]
 
string BehaviorSubtypeName [get]
 
ActionCollection ActionCollection [get]
 
MyBotMemory BotMemory [get]
 
MyBotMemory LastBotMemory [get, set]
 
MyAgentActions AgentActions [get]
 
MyBotActionsBase BotActions [get, set]
 
MyBotDefinition BotDefinition [get]
 
MyAgentDefinition AgentDefinition [get]
 
MyBotLogic BotLogic [get]
 
MyAgentLogic AgentLogic [get]
 
bool HasLogic [get]
 
virtual bool ShouldFollowPlayer [get, set]
 
virtual bool IsValidForUpdate [get]
 
bool CreatedByPlayer [get, set]
 
- Properties inherited from Sandbox.Game.AI.IMyEntityBot
MyEntity BotEntity [get]
 
bool ShouldFollowPlayer [get, set]
 
- Properties inherited from Sandbox.Game.AI.IMyBot
bool IsValidForUpdate [get]
 
bool CreatedByPlayer [get]
 
string BehaviorSubtypeName [get]
 
ActionCollection ActionCollection [get]
 
MyBotMemory BotMemory [get]
 
MyBotMemory LastBotMemory [get, set]
 
MyBotDefinition BotDefinition [get]
 
MyBotActionsBase BotActions [get, set]
 
MyBotLogic BotLogic [get]
 

Detailed Description

Definition at line 23 of file MyAgentBot.cs.

Constructor & Destructor Documentation

Sandbox.Game.AI.MyAgentBot.MyAgentBot ( MyPlayer  player,
MyBotDefinition  botDefinition 
)
inline

Definition at line 164 of file MyAgentBot.cs.

Member Function Documentation

virtual void Sandbox.Game.AI.MyAgentBot.Cleanup ( )
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Definition at line 259 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.Controller_ControlledEntityChanged ( IMyControllableEntity  oldEntity,
IMyControllableEntity  newEntity 
)
inlineprotectedvirtual

Definition at line 182 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.DebugDraw ( )
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Reimplemented in Sandbox.Game.AI.MyHumanoidBot.

Definition at line 368 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.DebugGoto ( Vector3D  point,
MyEntity  entity = null 
)
inlinevirtual

Definition at line 403 of file MyAgentBot.cs.

virtual MyObjectBuilder_Bot Sandbox.Game.AI.MyAgentBot.GetObjectBuilder ( )
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Definition at line 331 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.Init ( MyObjectBuilder_Bot  botBuilder)
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Definition at line 202 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.InitActions ( ActionCollection  actionCollection)
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Definition at line 227 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.InitLogic ( MyBotLogic  botLogic)
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Definition at line 232 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.Reset ( )
inlinevirtual

Implements Sandbox.Game.AI.IMyBot.

Definition at line 324 of file MyAgentBot.cs.

void Sandbox.Game.AI.MyAgentBot.ReturnToLastMemory ( )
inline

Implements Sandbox.Game.AI.IMyBot.

Definition at line 60 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.Spawn ( Vector3D spawnPosition,
bool  spawnedByPlayer 
)
inlinevirtual

Implements Sandbox.Game.AI.IMyEntityBot.

Definition at line 243 of file MyAgentBot.cs.

void Sandbox.Game.AI.MyAgentBot.Update ( )
inline

Implements Sandbox.Game.AI.IMyBot.

Definition at line 270 of file MyAgentBot.cs.

virtual void Sandbox.Game.AI.MyAgentBot.UpdateInternal ( )
inlineprotectedvirtual

Definition at line 303 of file MyAgentBot.cs.

Member Data Documentation

MyLastActions Sandbox.Game.AI.MyAgentBot.LastActions = new MyLastActions()

Definition at line 139 of file MyAgentBot.cs.

ActionCollection Sandbox.Game.AI.MyAgentBot.m_actionCollection
protected

Definition at line 48 of file MyAgentBot.cs.

MyAgentActions Sandbox.Game.AI.MyAgentBot.m_actions
protected

Definition at line 66 of file MyAgentBot.cs.

MyAgentDefinition Sandbox.Game.AI.MyAgentBot.m_botDefinition
protected

Definition at line 81 of file MyAgentBot.cs.

MyAgentLogic Sandbox.Game.AI.MyAgentBot.m_botLogic
protected

Definition at line 85 of file MyAgentBot.cs.

MyBotMemory Sandbox.Game.AI.MyAgentBot.m_botMemory
protected

Definition at line 51 of file MyAgentBot.cs.

MyBotNavigation Sandbox.Game.AI.MyAgentBot.m_navigation
protected

Definition at line 28 of file MyAgentBot.cs.

MyPlayer Sandbox.Game.AI.MyAgentBot.m_player
protected

Definition at line 25 of file MyAgentBot.cs.

Property Documentation

ActionCollection Sandbox.Game.AI.MyAgentBot.ActionCollection
get

Definition at line 49 of file MyAgentBot.cs.

MyAgentActions Sandbox.Game.AI.MyAgentBot.AgentActions
get

Definition at line 68 of file MyAgentBot.cs.

MyAgentDefinition Sandbox.Game.AI.MyAgentBot.AgentDefinition
get

Definition at line 83 of file MyAgentBot.cs.

MyCharacter Sandbox.Game.AI.MyAgentBot.AgentEntity
get

Definition at line 32 of file MyAgentBot.cs.

MyAgentLogic Sandbox.Game.AI.MyAgentBot.AgentLogic
get

Definition at line 87 of file MyAgentBot.cs.

string Sandbox.Game.AI.MyAgentBot.BehaviorSubtypeName
get

Definition at line 44 of file MyAgentBot.cs.

MyBotActionsBase Sandbox.Game.AI.MyAgentBot.BotActions
getset

Definition at line 72 of file MyAgentBot.cs.

MyBotDefinition Sandbox.Game.AI.MyAgentBot.BotDefinition
get

Definition at line 82 of file MyAgentBot.cs.

MyEntity Sandbox.Game.AI.MyAgentBot.BotEntity
get

Definition at line 41 of file MyAgentBot.cs.

MyBotLogic Sandbox.Game.AI.MyAgentBot.BotLogic
get

Definition at line 86 of file MyAgentBot.cs.

MyBotMemory Sandbox.Game.AI.MyAgentBot.BotMemory
get

Definition at line 52 of file MyAgentBot.cs.

bool Sandbox.Game.AI.MyAgentBot.CreatedByPlayer
getset

Definition at line 159 of file MyAgentBot.cs.

bool Sandbox.Game.AI.MyAgentBot.HasLogic
get

Definition at line 88 of file MyAgentBot.cs.

virtual bool Sandbox.Game.AI.MyAgentBot.IsValidForUpdate
get

Definition at line 148 of file MyAgentBot.cs.

MyBotMemory Sandbox.Game.AI.MyAgentBot.LastBotMemory
getset

Definition at line 56 of file MyAgentBot.cs.

MyBotNavigation Sandbox.Game.AI.MyAgentBot.Navigation
get

Definition at line 29 of file MyAgentBot.cs.

MyPlayer Sandbox.Game.AI.MyAgentBot.Player
get

Definition at line 26 of file MyAgentBot.cs.

virtual bool Sandbox.Game.AI.MyAgentBot.ShouldFollowPlayer
getset

Definition at line 142 of file MyAgentBot.cs.


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