7 public ReadOnlyList<CellFace>
CellFaces {
get;
set; }
13 CellFaces =
new ReadOnlyList<CellFace>(
new List<CellFace>(cellFaces));
int NeighborConnectorFace
ElectricElement NeighborElectricElement
ElectricConnectorType ConnectorType
ElectricConnectorType NeighborConnectorType
virtual void OnNeighborBlockChanged(CellFace cellFace, int neighborX, int neighborY, int neighborZ)
virtual void OnConnectionsChanged()
virtual void OnCollide(CellFace cellFace, float velocity, ComponentBody componentBody)
SubsystemElectricity SubsystemElectricity
int CalculateHighInputsCount()
ElectricElement(SubsystemElectricity subsystemElectricity, CellFace cellFace)
static bool IsSignalHigh(float voltage)
virtual float GetOutputVoltage(int face)
ElectricElement(SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces)
virtual bool OnInteract(TerrainRaycastResult raycastResult, ComponentMiner componentMiner)
List< ElectricConnection > Connections
virtual void OnHitByProjectile(CellFace cellFace, WorldItem worldItem)
ReadOnlyList< CellFace > CellFaces