MapInfo beta
Interface of @v12-engine/engine
export interface MapInfoWhat the map a world was made from says that is not an entity, as it is kept in the world: plain data, for a save
Members
cameras
cameras?: MapCamera[];Its views saved under names, for the screens (GameSession.cameras)
data
data: Record<string, unknown>;What the game kept with the map (GameMap.data), plain data the engine never looks inside
definitions
definitions?: GameData;The map's own definitions (GameMap.definitions): what a load of the world lays over the game again
doodads
doodads?: MapDoodad[];Its scenery, for the screens (GameSession.doodads)
environment
environment?: MapEnvironment;What the map looks like, for the screens (GameSession.environment)
forces
forces?: MapForce[];Its teams, named, and what they share
itemTables
itemTables?: MapItemTable[];What things placed on it drop when they die (MapObject.drops)
name
name: string;The map's name (GameMap.name)
paths
paths: MapPath[];The map's named paths, as world.map.path(name) finds them
players
players?: MapPlayerInfo[];Who plays each player, and the game's own fields of each (with what they are when not set)
points
points: MapPoint[];The map's named points, as world.map.point(name) finds them
regions
regions?: MapRegion[];Its regions, for the screens (GameSession.regions): what mist in places lies over by name. The rules know them as areas