import { EightBittr } from "../EightBittr"; import { Actor } from "../types"; import { Section } from "./Section"; /** * Adds and processes new Actors into the game. */ export declare class Actors extends Section { /** * Adds a new Actor to the game at a given position, relative to the top * left corner of the screen. * * @param actorRaw What type of Actor to add. * @param left The horizontal point to place the Actor's left at (by default, 0). * @param top The vertical point to place the Actor's top at (by default, 0). */ add(actorRaw: string | Actor | [string, Partial], left?: number, top?: number): Actor; /** * Processes an Actor so that it is ready to be placed in gameplay. * * @param actor The Actor being processed. * @param title What type Actor this is (the name of the class). * @param settings Additional settings to be given to the Actor. * @remarks This is generally called as the onMake call in an ObjectMakr. */ process(actor: Actor, title: string): void; /** * Determines how many quadrants an Actor can occupy at most. * * @param actor * @returns How many quadrants the Actor can occupy at most. */ private getMaxOccupiedQuadrants; } //# sourceMappingURL=Actors.d.ts.map