UNPKG

rock-mod

Version:

Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.

68 lines (67 loc) 1.54 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MockBlip = void 0; const MockWorldObject_1 = require("../worldObject/MockWorldObject"); class MockBlip extends MockWorldObject_1.MockWorldObject { _name; _sprite; _color; _alpha; _scale; _drawDistance; _global; _shortRange; _rotation; get name() { return this._name; } get sprite() { return this._sprite; } get color() { return this._color; } get alpha() { return this._alpha; } get scale() { return this._scale; } get drawDistance() { return this._drawDistance; } get global() { return this._global; } get shortRange() { return this._shortRange; } get rotation() { return this._rotation; } constructor(options) { super(options); this._name = options.name; this._sprite = options.sprite; this._color = options.color; this._alpha = options.alpha; this._scale = options.scale; this._drawDistance = options.drawDistance; this._global = options.global; this._shortRange = options.shortRange; this._rotation = options.rotation; } setName(value) { this._name = value; } setSprite(value) { this._sprite = value; } setColor(value) { this._color = value; } setAlpha(value) { this._alpha = value; } } exports.MockBlip = MockBlip;