C# Class SunsetHigh.GameClock

Exibir arquivo Open project: ErraticUnicorn/MOSH

Public Properties

Property Type Description
gameStartTime System.DateTime

Public Methods

Method Description
formatTimeSpan ( ClockSave total ) : string
formatTimeSpan ( System.TimeSpan total ) : string
getSaveStructure ( ) : ClockSave
getTotalTimeSpan ( ) : System.TimeSpan
loadSaveStructure ( ClockSave data ) : void
renewClock ( ) : void

Method Details

formatTimeSpan() public static method

public static formatTimeSpan ( ClockSave total ) : string
total ClockSave
return string

formatTimeSpan() public static method

public static formatTimeSpan ( System.TimeSpan total ) : string
total System.TimeSpan
return string

getSaveStructure() public static method

public static getSaveStructure ( ) : ClockSave
return ClockSave

getTotalTimeSpan() public static method

public static getTotalTimeSpan ( ) : System.TimeSpan
return System.TimeSpan

loadSaveStructure() public static method

public static loadSaveStructure ( ClockSave data ) : void
data ClockSave
return void

renewClock() public static method

public static renewClock ( ) : void
return void

Property Details

gameStartTime public_oe static_oe property

public static DateTime,System gameStartTime
return System.DateTime