@fuwu-yuan/bgew
Version:
Baguette Game Engine Web is a french 2D Web game engine
23 lines (22 loc) • 400 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Camera = void 0;
class Camera {
constructor() {
this._x = 0;
this._y = 0;
}
get x() {
return this._x;
}
set x(value) {
this._x = value;
}
get y() {
return this._y;
}
set y(value) {
this._y = value;
}
}
exports.Camera = Camera;