Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ComponentCattleDriveBehavior
类 Game.ComponentCattleDriveBehavior 继承关系图:
Game.ComponentCattleDriveBehavior 的协作图:

Public 成员函数

virtual void HearNoise (ComponentBody sourceBody, Vector3 sourcePosition, float loudness)
virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual void FadeDriveVector ()
virtual Vector3 CalculateDriveDirectionAndSpeed ()
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
virtual void OnEntityAdded ()
virtual void OnEntityRemoved ()
virtual void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
virtual void Dispose ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemTime m_subsystemTime
SubsystemCreatureSpawn m_subsystemCreatureSpawn
ComponentCreature m_componentCreature
ComponentPathfinding m_componentPathfinding
ComponentHerdBehavior m_componentHerdBehavior
StateMachine m_stateMachine = new()
Random m_random = new()
float m_importanceLevel
Vector3 m_driveVector
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

属性

UpdateOrder UpdateOrder [get]
override float ImportanceLevel [get]
属性 继承自 Game.ComponentBehavior
float ImportanceLevel [get]
virtual bool IsActive [get, set]
virtual string DebugInfo [get]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

包函数 继承自 GameEntitySystem.Component
void DisposeInternal ()

详细描述

在文件 ComponentCattleDriveBehavior.cs6 行定义.

成员函数说明

◆ CalculateDriveDirectionAndSpeed()

virtual Vector3 Game.ComponentCattleDriveBehavior.CalculateDriveDirectionAndSpeed ( )
virtual

在文件 ComponentCattleDriveBehavior.cs109 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ FadeDriveVector()

virtual void Game.ComponentCattleDriveBehavior.FadeDriveVector ( )
virtual

在文件 ComponentCattleDriveBehavior.cs102 行定义.

这是这个函数的调用关系图:

◆ HearNoise()

virtual void Game.ComponentCattleDriveBehavior.HearNoise ( ComponentBody sourceBody,
Vector3 sourcePosition,
float loudness )
virtual

实现了 Game.INoiseListener.

在文件 ComponentCattleDriveBehavior.cs29 行定义.

函数调用图:

◆ Load()

override void Game.ComponentCattleDriveBehavior.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentCattleDriveBehavior.cs44 行定义.

函数调用图:

◆ Update()

virtual void Game.ComponentCattleDriveBehavior.Update ( float dt)
virtual

实现了 Game.IUpdateable.

在文件 ComponentCattleDriveBehavior.cs40 行定义.

类成员变量说明

◆ m_componentCreature

ComponentCreature Game.ComponentCattleDriveBehavior.m_componentCreature

在文件 ComponentCattleDriveBehavior.cs11 行定义.

◆ m_componentHerdBehavior

ComponentHerdBehavior Game.ComponentCattleDriveBehavior.m_componentHerdBehavior

在文件 ComponentCattleDriveBehavior.cs15 行定义.

◆ m_componentPathfinding

ComponentPathfinding Game.ComponentCattleDriveBehavior.m_componentPathfinding

在文件 ComponentCattleDriveBehavior.cs13 行定义.

◆ m_driveVector

Vector3 Game.ComponentCattleDriveBehavior.m_driveVector

在文件 ComponentCattleDriveBehavior.cs23 行定义.

◆ m_importanceLevel

float Game.ComponentCattleDriveBehavior.m_importanceLevel

在文件 ComponentCattleDriveBehavior.cs21 行定义.

◆ m_random

Random Game.ComponentCattleDriveBehavior.m_random = new()

在文件 ComponentCattleDriveBehavior.cs19 行定义.

◆ m_stateMachine

StateMachine Game.ComponentCattleDriveBehavior.m_stateMachine = new()

在文件 ComponentCattleDriveBehavior.cs17 行定义.

◆ m_subsystemCreatureSpawn

SubsystemCreatureSpawn Game.ComponentCattleDriveBehavior.m_subsystemCreatureSpawn

在文件 ComponentCattleDriveBehavior.cs9 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentCattleDriveBehavior.m_subsystemTime

在文件 ComponentCattleDriveBehavior.cs7 行定义.

属性说明

◆ ImportanceLevel

override float Game.ComponentCattleDriveBehavior.ImportanceLevel
get

在文件 ComponentCattleDriveBehavior.cs27 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentCattleDriveBehavior.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentCattleDriveBehavior.cs25 行定义.


该类的文档由以下文件生成: