◆ AttemptConnection()
| void PowerSource.AttemptConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Connects the power source to a power receiver.
◆ DistributeAsGenerator()
| void PowerSource.DistributeAsGenerator |
( |
| ) |
|
|
inlineprivate |
Distributes power to power receivers as a generator.
◆ DistributeAsReactorTurbine()
| void PowerSource.DistributeAsReactorTurbine |
( |
| ) |
|
|
inlineprivate |
Distributes power to power receivers as reactor turbine.
◆ DistributeAsSolarPanel()
| void PowerSource.DistributeAsSolarPanel |
( |
| ) |
|
|
inlineprivate |
Distributes power to power receivers as a solar panel.
◆ DistributePower()
| void PowerSource.DistributePower |
( |
| ) |
|
|
inlineprivate |
Determines the type of power source and calls the appropriate power distribution method.
◆ OnDestroy()
| void PowerSource.OnDestroy |
( |
| ) |
|
|
inline |
Used to notify power receivers when the power source is destroyed.
◆ Start()
| void PowerSource.Start |
( |
| ) |
|
|
inline |
Called by unity engine on start up to initialize variables.
◆ UpdateMachine()
| override void PowerSource.UpdateMachine |
( |
| ) |
|
|
inlinevirtual |
◆ address
◆ blocked
◆ builtObjects
| GameObject PowerSource.builtObjects |
|
private |
◆ connectionAttempts
| int PowerSource.connectionAttempts |
◆ connectionFailed
| bool PowerSource.connectionFailed |
◆ connectionLine
| LineRenderer PowerSource.connectionLine |
|
private |
◆ creationMethod
| string PowerSource.creationMethod |
◆ fuelAmount
| int PowerSource.fuelAmount |
◆ fuelConsumptionTimer
| int PowerSource.fuelConsumptionTimer |
|
private |
◆ fuelType
| string PowerSource.fuelType |
◆ generatorOffTexture
| Texture2D PowerSource.generatorOffTexture |
◆ generatorOnTexture
| Texture2D PowerSource.generatorOnTexture |
◆ ID
| string PowerSource.ID = "unassigned" |
◆ inputID
| string PowerSource.inputID |
◆ inputObject
| GameObject PowerSource.inputObject |
◆ lineMat
| Material PowerSource.lineMat |
◆ noReactor
| bool PowerSource.noReactor |
◆ outOfFuel
| bool PowerSource.outOfFuel |
◆ outputID
| string PowerSource.outputID |
◆ outputObject
| GameObject PowerSource.outputObject |
◆ powerAmount
| int PowerSource.powerAmount |
◆ stateManager
◆ type
The documentation for this class was generated from the following file: