메소드 | 설명 | |
---|---|---|
addTotalUse ( float use ) : void |
Adds the total use.
|
|
addUsages ( int amt ) : void |
Sets the number of usages.
|
|
getAvgUsePerSec ( ) : float |
Gets The current use of energy per second of time in the simulation.
|
|
getBatteryList ( ) : List |
Gets the battery list.
|
|
getIsEnergySupplied ( ) : bool |
Gets if is energy supplied.
|
|
getIsOn ( ) : bool |
Gets whether the energy use is currently on.
|
|
getIsUsingBattery ( ) : bool |
Gets the is using battery.
|
|
getNumberOfUsages ( ) : int |
Gets the number of usages.
|
|
getPlugLoad ( ) : PlugLoad, | ||
getTotalUse ( ) : float |
Gets the total use.
|
|
setAvgUsePerSec ( float amt ) : void |
Sets the avg use per sec.
|
|
setIsEnergySupplied ( bool state ) : void |
Sets if is energy supplied.
|
|
setIsOn ( bool state ) : void |
Sets is on or off.
|
|
setIsUsingBattery ( bool state ) : void |
Sets if is using battery.
|
|
setPlugLoad ( PlugLoad, pl ) : void |
메소드 | 설명 | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void |
public addTotalUse ( float use ) : void | ||
use | float | Use... subtracts if negative. |
리턴 | void |
public setIsEnergySupplied ( bool state ) : void | ||
state | bool | If set to |
리턴 | void |
public setIsUsingBattery ( bool state ) : void | ||
state | bool | If set to |
리턴 | void |