blaze-2d
Version:
A fast and simple WebGL 2 2D game engine written in TypeScript
15 lines (14 loc) • 517 B
TypeScript
import { vec2 } from "gl-matrix";
import EditorPane from "./pane";
export default class ScenePane extends EditorPane {
canvas: HTMLCanvasElement;
/**
* Creates a {@link ScenePane}.
*
* @param canvas The canvas used by blaze
* @param pos The top left corner of the pane in the editor grid
* @param width The width of the pane in columns
* @param height The height of the pane in rows
*/
constructor(canvas: HTMLCanvasElement, pos: vec2, width: number, height: number);
}