Skip to content

MapCommandGame beta ​

Interface of @v12-engine/editor/map-command

ts
export interface MapCommandGame

A game the map command knows: its rules, its look (the ground's tiles of its pictures), and generators besides its own (--generator id)

Members ​

generators ​

ts
generators?: Record<string, MapGenerator>;

Generators besides the engine's own, by id, that --generator id can name

module ​

ts
module: Rules;

The rules of the game (its Rules module) the command loads maps with

view ​

ts
view: GameView;

The game's look, whose ground tiles the map pictures are drawn with