blaze-2d
Version:
A fast and simple WebGL 2 2D game engine written in TypeScript
19 lines (18 loc) • 525 B
TypeScript
import { vec2 } from "gl-matrix";
import EditorPane from "./pane";
export default class ConsolePane extends EditorPane {
private messages;
/**
* Creates a {@link ConsolePane}.
*
* @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(pos?: vec2, width?: number, height?: number);
/**
* Update console.
*/
update(): void;
private addMessage;
}