Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReloadLanguage ¶
Types ¶
type LevelCompletionInfo ¶
type LevelCompletionStatus ¶
type LevelCompletionStatus int
const ( LevelNotCompleted LevelCompletionStatus = iota LevelCompleted LevelCompletedWithBonus )
type PersistentData ¶
type PersistentData struct { LevelsCompleted []LevelCompletionInfo `json:"levels_completed"` VolumeLevel int `json:"volume_level"` }
func (*PersistentData) GetLevelCompletionStatus ¶
func (d *PersistentData) GetLevelCompletionStatus(level *gamedata.LevelData) LevelCompletionStatus
func (*PersistentData) UpdateLevelCompletion ¶
func (d *PersistentData) UpdateLevelCompletion(level *gamedata.LevelData, bonus bool)
Click to show internal directories.
Click to hide internal directories.