rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
20 lines (19 loc) • 684 B
TypeScript
import { type IBaseObject } from "../../common/baseObject/IBaseObject";
import { type IVector3D } from "../../../../shared/common/utils/math/Vectors";
import { type BaseObjectType } from "../../../../shared";
export interface IMockBaseObjectOptions {
id: number;
type: BaseObjectType;
position: IVector3D;
dimension?: number;
}
export declare abstract class MockBaseObject implements IBaseObject {
readonly id: number;
readonly type: BaseObjectType;
readonly position: IVector3D;
readonly dimension: number;
protected _exists: boolean;
protected constructor(options: IMockBaseObjectOptions);
get isExists(): boolean;
destroy(): void;
}