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

x/caviar/src/entities/mod.ts>AtlasSprite

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

Constructors

new
AtlasSprite(
atlas: Atlas,
x: number,
y: number,
frame: string,
)

Properties

atlas: Atlas
frame: Frame
image: HTMLImage