Versions in this module Expand all Collapse all v0 v0.1.0 Dec 20, 2023 Changes in this version + var ErrUINotOnce = fmt.Errorf("there must be only 1 file in ./UI") + func LoadEnemyConfigs() ([]config.Enemy, error) + func LoadLevelConfigs() ([]config.Level, error) + func LoadMapConfigs() ([]config.Map, error) + func LoadReplays() ([]*replay.Watcher, error) + func LoadStats() (*ingame.PlayerState, error) + func LoadTowerConfigs() ([]config.Tower, error) + func LoadUIConfig() (config.UI, error) + func ReadConfigs[T any](dirName, ext string) ([]T, error) + func SaveStats(stats *ingame.PlayerState) error