package model

type Clock struct {
	Day         int `json:"day"`
	Time        int `json:"time"`
	DayLength   int `json:"dayLength"`
	NightLength int `json:"nightLength"`
}

func (c Clock) Night() bool { return c.Time >= c.DayLength }
