Skip to main content

Module world

Module world 

Source
Expand description

The map: its cells, floors (bridges), building placement and terraforming.

Modules§

floor
Floors: the deck of a bridge part. When it is activated, it counts one more floor on every cell under it and adds its picking mesh to the map’s floor scene; when it is removed, it takes both back. The ground under a point is on the floor where a cell has one and the floor is above the terrain.
map
The gameplay map: n × n cells over the centre of the 2n terrain (see docs/MAP-CELLS.md).
placement
Building placement (PlacementTool): the footprint under the cursor, whether it may be built and the map stamp of a footprint string. See docs/BUILD-TOOLS.md.
terraform
Terraforming: a tunnel reshapes the terrain when it is built. See docs/TUNNELS.md.