Documentation ¶
Index ¶
Constants ¶
View Source
const ( Day = hoursPerDay Month = hoursPerDay * daysPerMonth Year = hoursPerDay * daysPerMonth * monthsPerYear )
Variables ¶
This section is empty.
Functions ¶
func ConvertDateToGameTime ¶
Types ¶
type GameClock ¶
type GameClock struct {
// contains filtered or unexported fields
}
func NewGameClock ¶
func (*GameClock) GetCurrentDate ¶
func (*GameClock) GetCurrentTime ¶
func (*GameClock) UpdateTicker ¶
type GameTime ¶
type GameTime uint64
func (GameTime) Add ¶
func (gt GameTime) Add(gtd GameTimeDuration) GameTime
type GameTimeDuration ¶
type GameTimeDuration uint64
Click to show internal directories.
Click to hide internal directories.