A component for storing the x, y and z co-ordinates of an object in the Whirlibulf game engine.
$ component install whirlibulf/position-component
Register the component:
game.use('position', require('position-component'));
The options object for this component:
{
x: 0,
y: 0,
z: 0
}
All three values should be numbers.
MIT