A builder for a circus act.

Constructors

Properties

keyDown: (key: IZCircusKey) => this = ...

Adds a keydown action.

Type declaration

keyUp: (key: IZCircusKey) => this = ...

Adds a keyup action.

Type declaration

leftMouseDown: () => this = ...

Adds a mouse down action for the left mouse button.

Type declaration

    • (): this
    • Returns this

      This object.

leftMouseUp: () => this = ...

Adds a mouse up action for the left mouse button.

Type declaration

    • (): this
    • Returns this

      This object.

magic: (action: ZCircusMagicFunction) => this = ...

Adds custom magic action.

Type declaration

rightMouseDown: () => this = ...

Adds a mouse down action for the right mouse button.

Type declaration

    • (): this
    • Returns this

      This object.

rightMouseUp: () => this = ...

Adds a mouse up action for the right mouse button.

Type declaration

    • (): this
    • Returns this

      This object.

Methods

  • Types a string of characters.

    You will only really be able to put strings of single digit characters into this, so special characters will be handled as individual chars.

    Parameters

    • keys: string

      The keys to press as a string.

    Returns this

    This object.