My Project v1
Project
载入中...
搜索中...
未找到
Game.ThermometerElectricElement
类 Game.ThermometerElectricElement 继承关系图:
Game.ThermometerElectricElement 的协作图:

Public 成员函数

 ThermometerElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
 
override float GetOutputVoltage (int face)
 
override bool Simulate ()
 
- Public 成员函数 继承自 Game.ElectricElement
 ElectricElement (SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces)
 
 ElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace)
 
virtual void OnAdded ()
 
virtual void OnRemoved ()
 
virtual void OnNeighborBlockChanged (CellFace cellFace, int neighborX, int neighborY, int neighborZ)
 
virtual bool OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
 
virtual void OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody)
 
virtual void OnHitByProjectile (CellFace cellFace, WorldItem worldItem)
 
virtual void OnConnectionsChanged ()
 
int CalculateHighInputsCount ()
 

Public 属性

SubsystemMetersBlockBehavior m_subsystemMetersBlockBehavior
 
float m_voltage
 

静态 Public 属性

const float m_pollingPeriod = 0.5f
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 Game.ElectricElement
static bool IsSignalHigh (float voltage)
 
- 属性 继承自 Game.ElectricElement
SubsystemElectricity SubsystemElectricity [get, set]
 
ReadOnlyList< CellFaceCellFaces [get, set]
 
List< ElectricConnectionConnections [get, set]
 

构造及析构函数说明

◆ ThermometerElectricElement()

Game.ThermometerElectricElement.ThermometerElectricElement ( SubsystemElectricity subsystemElectricity,
CellFace cellFace )

成员函数说明

◆ GetOutputVoltage()

override float Game.ThermometerElectricElement.GetOutputVoltage ( int face)
virtual

◆ Simulate()

override bool Game.ThermometerElectricElement.Simulate ( )
virtual

重载 Game.ElectricElement .

函数调用图:

类成员变量说明

◆ m_pollingPeriod

const float Game.ThermometerElectricElement.m_pollingPeriod = 0.5f
static

◆ m_subsystemMetersBlockBehavior

SubsystemMetersBlockBehavior Game.ThermometerElectricElement.m_subsystemMetersBlockBehavior

◆ m_voltage

float Game.ThermometerElectricElement.m_voltage

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