UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

18 lines 624 B
import { TgdLogger } from "../log"; export type TgdDebugPainterHierarchy = Record<string, TgdDebugPainterHierarchy[] | null>; export declare abstract class TgdPainter { static readonly log: TgdLogger; protected static counter: number; readonly id: number; /** * This attribute has no other purpose than debugging. * Its value is not used by Tgd. */ name: string; active: boolean; abstract delete(): void; abstract paint(time: number, delta: number): void; get hierarchy(): TgdDebugPainterHierarchy; debug(caption?: string): void; } //# sourceMappingURL=painter.d.ts.map