towerDefenseKit.package
This package holds more than this page lists. See all of its files in its world.
README.md
towerDefenseKit.grid
The build grid over the field: square cells (2 m default). A cell is buildable when it is inside the field, clear of every road by the road's half width plus a margin (a tower never stands on the path), away from the goal and the entrances, out of an island's moat and clear of scenery blockers, and not holding a tower. new, cellAt, centre, key, canBuild(g, cx, cz, occupied) (returns the reason when not), blockedWhy, buildableCount. Which cells hold a tower comes from the synced towers themselves.