Method | Description | |
---|---|---|
convertSecondsToTimeOfDayString ( int sec ) : string | ||
getSimStartTime ( ) : int | ||
getSimTime ( TimeFormat desiredFormat ) : string |
Gets the sim time.
|
|
getTimeOfDayInSeconds ( ) : int | ||
oneSecondPassed ( float time ) : void | ||
pause ( ) : void |
Pause this instance.
|
|
printSimTime ( TimeFormat desiredFormat ) : void |
Prints the sim time.
|
|
resume ( ) : void |
Resume this instance.
|
|
setSimulationStartTime ( string timeOfDay ) : void |
Sets the sim start time. FORMAT = 00:00:00 AM
|
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
convertSecToDayHoMinSec ( int sec ) : string |
Converts the seconds to days hours minites seconds.
|
|
convertSecToHoMinSec ( int sec ) : string |
Converts the seconds to hours minutes seconds.
|
|
convertSecToMinSec ( int sec ) : string |
Converts the sec to minutes seconds.
|
|
convertSecToTimeOfDay ( int sec ) : string |
Converts the seconds to time of day.
|
public static convertSecondsToTimeOfDayString ( int sec ) : string | ||
sec | int | |
return | string |
public getSimTime ( TimeFormat desiredFormat ) : string | ||
desiredFormat | TimeFormat | Desired format. --- consult TimeFormat Enum |
return | string |
public printSimTime ( TimeFormat desiredFormat ) : void | ||
desiredFormat | TimeFormat | Desired format. --- consult TimeFormat Enum |
return | void |
public setSimulationStartTime ( string timeOfDay ) : void | ||
timeOfDay | string | Time of day as string. //format should be .. 00:00:00 am |
return | void |