UNPKG

rock-mod

Version:

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

53 lines (52 loc) 1.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AltVBlip = void 0; const AltVWorldObject_1 = require("../worldObject/AltVWorldObject"); class AltVBlip extends AltVWorldObject_1.AltVWorldObject { _global; get name() { return this.mpEntity.name; } get sprite() { return this.mpEntity.sprite; } get color() { return this.mpEntity.color; } get alpha() { return this.mpEntity.alpha; } get scale() { return this.mpEntity.scale; } get drawDistance() { console.log("[RockMod] AltVBlip drawDistance is not implemented"); return 0; } get global() { return this._global; } get shortRange() { return this.mpEntity.shortRange; } get rotation() { return this.mpEntity.heading; } constructor(options) { super(options); this._global = options.global; } setName(value) { this.mpEntity.name = value; } setSprite(value) { this.mpEntity.sprite = value; } setColor(value) { this.mpEntity.color = value; } setAlpha(value) { this.mpEntity.alpha = value; } } exports.AltVBlip = AltVBlip;