Interface DebugWindowCanvasControls

interface DebugWindowCanvasControls {
    canvas: HTMLCanvasElement;
    ctx: CanvasRenderingContext2D;
    resize: ((width?: number, height?: number) => void);
    redraw: (() => void);
    play: ((fps?: number) => number);
    pause: (() => void);
}

Properties

canvas: HTMLCanvasElement
ctx: CanvasRenderingContext2D
resize: ((width?: number, height?: number) => void)
redraw: (() => void)
play: ((fps?: number) => number)
pause: (() => void)