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