class World extends WebGLCanvasimport { World } from "https://deno.land/x/caviar@2.6.7/mod.ts"; ConstructorsnewWorld(params: CreateWindowOptions, scenes: Array<Scene>)PropertiescurrentScene: SceneCurrent scene displayed FPS: numberFrames displayed per second keyManager: KeyManagerManages Key Events loadedPlugins: anyAll plugins currently loaded params: CreateWindowOptionsWindow parameters plugins: anyList of available plugins renderer: WebGLRenderer2DThe WebGl renderer that powers the engine reRender: booleanWhether or not to rerender scenes: Array<Scene>Collection of scenes in the world MethodsdisableBanner()Disables the caviar launch banner keyDown(e: WindowKeyboardEvent): booleanChecks if a key is currently down loadPlugin(name: string, plugin: any): voidAdds a plugin to the game setBackground(color: string | RGBA): voidSets the background to the given color setFPS(fps: number): voidSets the amount of Frames to render per second setScene(id: number): voidSets the current scene to the specified scene index setScene(name: string): voidSets the current scene to the specified scene with the given name setup(): voidSets up the current scene start(): Promise<void>Launches the World updateProgramLifeCycle(): voidUpdates the program's life cycle usePlugin(name: string): anyUses an loaded plugin to the game [_draw](): void[_fps](): () => void[_mouseDown](e: any): void[_mouseMotion](e: MouseMotionEvent): void