@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
26 lines (24 loc) • 603 B
JavaScript
;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
class Rotation {
get yaw() {
return this._yaw;
}
set yaw(newYaw) {
this._yaw = newYaw;
}
get pitch() {
return this._pitch;
}
set pitch(newPitch) {
this._pitch = newPitch;
}
constructor(yaw, pitch) {
this._yaw = yaw == null ? 0 : yaw;
this._pitch = pitch == null ? 0 : pitch;
}
}
exports.default = Rotation;
//# sourceMappingURL=../maps/minecraft/Rotation.js.map