UNPKG

rock-mod

Version:

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

15 lines (14 loc) 727 B
import { type IWorldObject } from "../../common/worldObject/IWorldObject"; import { type IRageBaseObjectOptions, RageBaseObject } from "../baseObject/RageBaseObject"; import { type IVector3D, Vector3D } from "../../../../shared/common/utils/math/Vectors"; export interface IRageWorldObjectOptions<T extends EntityMp> extends IRageBaseObjectOptions<T> { position?: IVector3D; } export declare abstract class RageWorldObject<T extends EntityMp> extends RageBaseObject<T> implements IWorldObject { private _position?; get position(): Vector3D; get dimension(): number; protected constructor(options: IRageWorldObjectOptions<T>); setPosition(value: Vector3D): void; setDimension(value: number): void; }