class World
extends Canvas
import { World } from "https://deno.land/x/caviar@1.0.2/src/World.ts";
Constructors
new
World(params: WorldOptions, scenes: Array<Scene>)Properties
Methods
private
_draw()private
_mouseDown(e: MouseDownEvent)private
_mouseMotion(e: MouseMotionEvent)_fps()
draw(): void
loadPlugin(name: string, plugin: Plugin): void
setFPS(fps: number): void
setScene(scene: number | string): void
setup(): void
start()