Versions in this module Expand all Collapse all v0 v0.2.1 Apr 10, 2024 v0.2.0 Mar 25, 2024 Changes in this version + func LoadAchievements(file string, completed *[]string) error + func LoadMap(f fs.FS, folder string, mapLoc MapLocation) (maps.Map, error) + func ParseMap(mapStr string) (maps.Map, error) + func SaveAchievements(file string, completed []string) error + func SaveMap(folder, name string, world *ecs.World) error + type LoadType uint8 + const LoadTypeGame + const LoadTypeMap + const LoadTypeNone + type MapInfo struct + Achievements []string + Description string + func LoadMapData(f fs.FS, folder string, mapLoc MapLocation) (MapInfo, error) + type MapLocation struct + IsEmbedded bool + Name string + func ListMaps(f fs.FS, folder string) ([]MapLocation, error) + type SaveGame struct + Name string + Time time.Time v0.1.0 Mar 10, 2024 Changes in this version + func DeleteGame(folder, name string) error + func IsValidName(name string) bool + func ListSaveGames(folder string) ([]string, error) + func LoadWorld(world *ecs.World, folder, name string) error + func SaveWorld(folder, name string, world *ecs.World) error