rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
25 lines (24 loc) • 561 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockBaseObject = void 0;
class MockBaseObject {
id;
type;
position;
dimension;
_exists;
constructor(options) {
this.id = options.id;
this.type = options.type;
this.position = options.position;
this.dimension = options.dimension ?? 0;
this._exists = true;
}
get isExists() {
return this._exists;
}
destroy() {
this._exists = false;
}
}
exports.MockBaseObject = MockBaseObject;