Implements

Constructors

Properties

color?: string
list: MockGameObject[] = []
name: string
style: any
text: string = ""

Methods

  • Sets the position of this Game Object.

    Parameters

    • Optionalx: number

      The x position of this Game Object. Default 0.

    • Optionaly: number

      The y position of this Game Object. If not set it will use the x value. Default x.

    • Optionalz: number

      The z position of this Game Object. Default 0.

    • Optionalw: number

      The w position of this Game Object. Default 0.

    Returns void

  • Parameters

    • keyOrText: string
    • name: undefined | string
    • delay: null | number = 0
    • callback: Function
    • OptionalcallbackDelay: number
    • OptionalpromptDelay: number

    Returns void

  • Parameters

    • text: string
    • Optionaldelay: null | number
    • Optionalcallback: null | Function
    • OptionalcallbackDelay: null | number
    • Optionalprompt: null | boolean
    • OptionalpromptDelay: null | number

    Returns void