Skip to content

MapEnvironment ​

Interface of @v12-engine/engine

ts
export interface MapEnvironment

What a map looks like beyond its ground (design review E8c): the engine carries it (in the map, its file, a save, what players are told as it changes: world.setEnvironment) and reads none of it but the map's own tiles, which are paint like the game's. An open interface: the client adds what it draws by (its water, light, sky, fog, weather, lights and the rest), as a game adds its commands (Commands)

Members ​

tiles ​

ts
tiles?: MapTile[];

Ground of the map's own to paint with, past the game's tiles (see MapTile): the rules' paint, by id