Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.3.2/src/entities/sprites/mod.ts";

Constructors

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

Properties

private
_frame: string
atlas: Atlas
frame: Frame
image: HTMLImage