import { FilterContainer, Palette } from "pixelrendr"; import { EightBittr } from "../EightBittr"; import { Actor } from "../types"; import { Classes } from "./graphics/Classes"; import { Opacity } from "./graphics/Opacity"; import { Section } from "./Section"; /** * Actor pixel data and properties. */ export declare class Graphics extends Section { /** * Initial background to set. */ readonly background?: string; /** * Filters that may be used by sprites in the library. */ readonly filters?: FilterContainer; /** * What class name should indicate an Actor is to be flipped vertically. */ readonly flipVertical?: string; /** * What class name should indicate an Actor is to be flipped horizontally. */ readonly flipHorizontal?: string; /** * A nested library of sprites to process. */ readonly library?: any; /** * The default palette of colors to use for sprites. */ readonly paletteDefault?: Palette; /** * Amount to expand sprites by when processing. */ readonly scale?: number; /** * Maximum size of a SpriteMultiple to pre-render. */ readonly spriteCacheCutoff?: number; /** * Adds and removes visual classes for Actors. */ readonly classes: Classes; /** * Changes the opacity of Actors. */ readonly opacity: Opacity; /** * Generates a key for an Actor based off the Actor's basic attributes. * This key should be used for PixelRender.get calls, to cache the Actor's * sprite. * * @param actor * @returns A key that to identify the Actor's sprite. */ generateActorKey(actor: Actor): string; } //# sourceMappingURL=Graphics.d.ts.map