rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
28 lines (27 loc) • 642 B
JavaScript
import { RageWorldObject } from "../worldObject/RageWorldObject";
export class RageBlip extends RageWorldObject {
get sprite() {
return this.mpEntity.getSprite();
}
get color() {
return this.mpEntity.getColour();
}
get alpha() {
return this.mpEntity.alpha;
}
get shortRange() {
return this.mpEntity.isShortRange();
}
constructor(options) {
super(options);
}
setSprite(value) {
this.mpEntity.setSprite(value);
}
setColor(value) {
this.mpEntity.setColour(value);
}
setAlpha(value) {
this.mpEntity.alpha = value;
}
}