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

x/caviar/src/entities/sprites/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.5.5/src/entities/sprites/mod.ts";

Constructors

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

Properties

atlas: Atlas
frame: Frame
image: HTMLImage