Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndScene ¶
func EndScene() (string, *oak.SceneResult)
func StartScene ¶
func StartScene(_ string, levelData interface{})
Types ¶
type LevelStats ¶
type LevelStats struct { Score int64 `json:"score"` Time int64 `json:"time"` Cleared float64 `json:"cleared"` Level int `json:"level"` }
func (*LevelStats) CalculateScore ¶
func (ls *LevelStats) CalculateScore()
type LevelStorage ¶
type LevelStorage struct {
Stats [5]LevelStats `json:"stats"`
}
Click to show internal directories.
Click to hide internal directories.