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

Public 成员函数

virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
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
ComponentCreature m_componentCreature
ComponentBirdModel m_componentBirdModel
ComponentPathfinding m_componentPathfinding
StateMachine m_stateMachine = new()
float m_importanceLevel = 1f
float m_dt
float m_peckTime
float m_waitTime
Random m_random = new()
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 ()

详细描述

在文件 ComponentRandomPeckBehavior.cs6 行定义.

成员函数说明

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentRandomPeckBehavior.cs47 行定义.

函数调用图:

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentRandomPeckBehavior.cs31 行定义.

类成员变量说明

◆ m_componentBirdModel

ComponentBirdModel Game.ComponentRandomPeckBehavior.m_componentBirdModel

在文件 ComponentRandomPeckBehavior.cs11 行定义.

◆ m_componentCreature

ComponentCreature Game.ComponentRandomPeckBehavior.m_componentCreature

在文件 ComponentRandomPeckBehavior.cs9 行定义.

◆ m_componentPathfinding

ComponentPathfinding Game.ComponentRandomPeckBehavior.m_componentPathfinding

在文件 ComponentRandomPeckBehavior.cs13 行定义.

◆ m_dt

float Game.ComponentRandomPeckBehavior.m_dt

在文件 ComponentRandomPeckBehavior.cs19 行定义.

◆ m_importanceLevel

float Game.ComponentRandomPeckBehavior.m_importanceLevel = 1f

在文件 ComponentRandomPeckBehavior.cs17 行定义.

◆ m_peckTime

float Game.ComponentRandomPeckBehavior.m_peckTime

在文件 ComponentRandomPeckBehavior.cs21 行定义.

◆ m_random

Random Game.ComponentRandomPeckBehavior.m_random = new()

在文件 ComponentRandomPeckBehavior.cs25 行定义.

◆ m_stateMachine

StateMachine Game.ComponentRandomPeckBehavior.m_stateMachine = new()

在文件 ComponentRandomPeckBehavior.cs15 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentRandomPeckBehavior.m_subsystemTerrain

在文件 ComponentRandomPeckBehavior.cs7 行定义.

◆ m_waitTime

float Game.ComponentRandomPeckBehavior.m_waitTime

在文件 ComponentRandomPeckBehavior.cs23 行定义.

属性说明

◆ ImportanceLevel

override float Game.ComponentRandomPeckBehavior.ImportanceLevel
get

在文件 ComponentRandomPeckBehavior.cs29 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentRandomPeckBehavior.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentRandomPeckBehavior.cs27 行定义.


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