Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/react_isometric_tilemap/components/animated-texture.tsx>AnimatedTextureProps

A Tileset for isomtric game components made only with the DOM
Latest
interface AnimatedTextureProps
import { type AnimatedTextureProps } from "https://deno.land/x/react_isometric_tilemap@2.0.0/components/animated-texture.tsx";

Properties for AnimatedTexture component.

Properties

readonly
frames: string[]

Array of images the animated texture uses

readonly
delay: number

The interval on wich each frame is changed, in milliseconds

readonly
optional
className: string

A set of extra classes added into the component

readonly
optional
style: React.CSSProperties

CSS style, same as any component

readonly
optional
onClick: () => void

Callback for action when clicked