0.0.1 • Published 11 years ago
voxel-tower v0.0.1
voxel-tower
an example/template node module for voxel.js.
places a tower of voxels at some specific game position.
install it
npm install voxel-tower
API
var tower = require('voxel-tower')(game, options)
pass in your voxel-engine instance as game
. options
is an optional object that defaults to:
{
"height": 5,
"material": "brick"
}
tower.place(position)
places your tower at some position. position
is an array vector game position, e.g. 1, 1, 1
license
BSD
0.0.1
11 years ago