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

Public 成员函数

virtual void Update (float dt)
virtual void HearNoise (ComponentBody sourceBody, Vector3 sourcePosition, float loudness)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual bool ScanForDanger ()
virtual Vector3 FindSafePlace ()
virtual float ScoreSafePlace (Vector3 currentPosition, Vector3 safePosition, Vector3? lookDirection)
virtual bool IsPredator (Entity entity)
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 属性

SubsystemTerrain m_subsystemTerrain
SubsystemBodies m_subsystemBodies
SubsystemAudio m_subsystemAudio
SubsystemTime m_subsystemTime
SubsystemNoise m_subsystemNoise
ComponentCreature m_componentCreature
ComponentPathfinding m_componentPathfinding
DynamicArray< ComponentBodym_componentBodies = []
Random m_random = new()
StateMachine m_stateMachine = new()
float m_importanceLevel
double m_nextUpdateTime
bool AffectedByNoise
 ‹‘Î…˘”∞œÏ
bool FanSound
 ≥·∞Ú…»∂Ø…˘“Ù
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

属性

float LowHealthToEscape [get, set]
UpdateOrder UpdateOrder [get]
override float ImportanceLevel [get]
override bool IsActive [set]
属性 继承自 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 ()

详细描述

在文件 ComponentFlyAwayBehavior.cs6 行定义.

成员函数说明

◆ FindSafePlace()

virtual Vector3 Game.ComponentFlyAwayBehavior.FindSafePlace ( )
virtual

在文件 ComponentFlyAwayBehavior.cs173 行定义.

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

◆ HearNoise()

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

实现了 Game.INoiseListener.

在文件 ComponentFlyAwayBehavior.cs65 行定义.

◆ IsPredator()

virtual bool Game.ComponentFlyAwayBehavior.IsPredator ( Entity entity)
virtual

在文件 ComponentFlyAwayBehavior.cs224 行定义.

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

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentFlyAwayBehavior.cs73 行定义.

函数调用图:

◆ ScanForDanger()

virtual bool Game.ComponentFlyAwayBehavior.ScanForDanger ( )
virtual

在文件 ComponentFlyAwayBehavior.cs163 行定义.

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

◆ ScoreSafePlace()

virtual float Game.ComponentFlyAwayBehavior.ScoreSafePlace ( Vector3 currentPosition,
Vector3 safePosition,
Vector3? lookDirection )
virtual

在文件 ComponentFlyAwayBehavior.cs197 行定义.

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

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentFlyAwayBehavior.cs55 行定义.

类成员变量说明

◆ AffectedByNoise

bool Game.ComponentFlyAwayBehavior.AffectedByNoise

‹‘Î…˘”∞œÏ

在文件 ComponentFlyAwayBehavior.cs35 行定义.

◆ FanSound

bool Game.ComponentFlyAwayBehavior.FanSound

≥·∞Ú…»∂Ø…˘“Ù

在文件 ComponentFlyAwayBehavior.cs40 行定义.

◆ m_componentBodies

DynamicArray<ComponentBody> Game.ComponentFlyAwayBehavior.m_componentBodies = []

在文件 ComponentFlyAwayBehavior.cs21 行定义.

◆ m_componentCreature

ComponentCreature Game.ComponentFlyAwayBehavior.m_componentCreature

在文件 ComponentFlyAwayBehavior.cs17 行定义.

◆ m_componentPathfinding

ComponentPathfinding Game.ComponentFlyAwayBehavior.m_componentPathfinding

在文件 ComponentFlyAwayBehavior.cs19 行定义.

◆ m_importanceLevel

float Game.ComponentFlyAwayBehavior.m_importanceLevel

在文件 ComponentFlyAwayBehavior.cs27 行定义.

◆ m_nextUpdateTime

double Game.ComponentFlyAwayBehavior.m_nextUpdateTime

在文件 ComponentFlyAwayBehavior.cs29 行定义.

◆ m_random

Random Game.ComponentFlyAwayBehavior.m_random = new()

在文件 ComponentFlyAwayBehavior.cs23 行定义.

◆ m_stateMachine

StateMachine Game.ComponentFlyAwayBehavior.m_stateMachine = new()

在文件 ComponentFlyAwayBehavior.cs25 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentFlyAwayBehavior.m_subsystemAudio

在文件 ComponentFlyAwayBehavior.cs11 行定义.

◆ m_subsystemBodies

SubsystemBodies Game.ComponentFlyAwayBehavior.m_subsystemBodies

在文件 ComponentFlyAwayBehavior.cs9 行定义.

◆ m_subsystemNoise

SubsystemNoise Game.ComponentFlyAwayBehavior.m_subsystemNoise

在文件 ComponentFlyAwayBehavior.cs15 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentFlyAwayBehavior.m_subsystemTerrain

在文件 ComponentFlyAwayBehavior.cs7 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentFlyAwayBehavior.m_subsystemTime

在文件 ComponentFlyAwayBehavior.cs13 行定义.

属性说明

◆ ImportanceLevel

override float Game.ComponentFlyAwayBehavior.ImportanceLevel
get

实现了 Game.IComponentEscapeBehavior.

在文件 ComponentFlyAwayBehavior.cs44 行定义.

◆ IsActive

override bool Game.ComponentFlyAwayBehavior.IsActive
set

实现了 Game.IComponentEscapeBehavior.

在文件 ComponentFlyAwayBehavior.cs46 行定义.

◆ LowHealthToEscape

float Game.ComponentFlyAwayBehavior.LowHealthToEscape
getset

实现了 Game.IComponentEscapeBehavior.

在文件 ComponentFlyAwayBehavior.cs30 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentFlyAwayBehavior.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentFlyAwayBehavior.cs42 行定义.


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