UNPKG

@erikyuzwa/rogue-punk

Version:

a JavaScript library to help you build your roguelike adventures

26 lines (25 loc) 371 B
export class Vector3d { constructor(x, y, z) { this.x = x; this.y = y; this.z = z; } get x() { return this.x; } set x(x) { this.x = x; } get y() { return this.y; } set y(y) { this.y = y; } get z() { return this.z; } set z(z) { this.z = z; } }