interface EntitySprite {
    condition?: (() => boolean);
    spriteID: string;
    x?: number;
    y?: number;
}

Properties

condition?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

spriteID: string
x?: number
y?: number