UNPKG

@erikyuzwa/rogue-punk

Version:

a JavaScript library to help you build your roguelike adventures

23 lines (22 loc) 390 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Vector2d = void 0; class Vector2d { constructor(x, y) { this.x = x; this.y = y; } get x() { return this.x; } set x(x) { this.x = x; } get y() { return this.y; } set y(y) { this.y = y; } } exports.Vector2d = Vector2d;