C# Class Submarine_Resources, TWI_Repo

Inheritance: MonoBehaviour
Mostra file Open project: justcollins/TWI_Repo Class Usage Examples

Public Properties

Property Type Description
maxEnergy float
maxOxygen float
maxPressure float
monitor EngineMonitor,
subCon SubControl,

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
getCabinPressure ( ) : float
getOxygenLevel ( ) : float
getShipEnergy ( ) : float
setCabinPressure ( float newPressure ) : void
setEnergyLevel ( float newEnergy ) : void
setOxygenAdd ( float newOxy ) : void
setOxygenLevel ( float newOxy ) : void
setPressureAdd ( float newPressure ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

getCabinPressure() public method

public getCabinPressure ( ) : float
return float

getOxygenLevel() public method

public getOxygenLevel ( ) : float
return float

getShipEnergy() public method

public getShipEnergy ( ) : float
return float

setCabinPressure() public method

public setCabinPressure ( float newPressure ) : void
newPressure float
return void

setEnergyLevel() public method

public setEnergyLevel ( float newEnergy ) : void
newEnergy float
return void

setOxygenAdd() public method

public setOxygenAdd ( float newOxy ) : void
newOxy float
return void

setOxygenLevel() public method

public setOxygenLevel ( float newOxy ) : void
newOxy float
return void

setPressureAdd() public method

public setPressureAdd ( float newPressure ) : void
newPressure float
return void

Property Details

maxEnergy public_oe property

public float maxEnergy
return float

maxOxygen public_oe property

public float maxOxygen
return float

maxPressure public_oe property

public float maxPressure
return float

monitor public_oe property

public EngineMonitor, monitor
return EngineMonitor,

subCon public_oe property

public SubControl, subCon
return SubControl,