UNPKG

rock-mod

Version:

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

22 lines (21 loc) 468 B
import { RageEntity } from "../entity/RageEntity"; export class RagePlayer extends RageEntity { get name() { return this.mpEntity.name; } get heading() { return this.mpEntity.heading; } get health() { return this.mpEntity.health; } get armour() { return this.mpEntity.armour; } get isDead() { return this.mpEntity.health <= 0; } constructor(options) { super(options); } }