UNPKG

@nativewrappers/client

Version:

Javascript/Typescript wrapper for the FiveM natives

12 lines (11 loc) 365 B
import { Color, Point, Size } from '../utils'; import { IDrawable } from './'; export declare class Container implements IDrawable { pos: Point; size: Size; color: Color; items: IDrawable[]; constructor(pos: Point, size: Size, color: Color); addItem(items: IDrawable | IDrawable[]): void; draw(offset?: Size, resolution?: Size): void; }