UNPKG

samp-node-lib

Version:

NodeJS library for Scripting San Andreas Multiplayer:SAMP depends on samp-node plugin

18 lines 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SampVehicle = void 0; const SampVehicleNativeFunctions_1 = require("./SampVehicleNativeFunctions"); class SampVehicle extends SampVehicleNativeFunctions_1.SampVehicleNativeFunctions { constructor() { super(...arguments); this.state = {}; } setState(newState) { this.state = Object.assign(Object.assign({}, this.state), newState); } get vehicleId() { return this._vehicleId; } } exports.SampVehicle = SampVehicle; //# sourceMappingURL=SampVehicle.js.map