Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/entities/sprites/mod.ts>Atlas

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class Atlas
extends Entity
import { Atlas } from "https://deno.land/x/caviar@2.0.0/src/entities/sprites/mod.ts";

Constructors

new
Atlas(atlasUrl: string)

Properties

atlas: PhaserAtlas
readonly
imgUrl: string

Methods

getFrame(key: string): Frame