Implements

Constructors

Properties

color?: string
list: MockGameObject[] = []
setColor: Mock<((color: string) => void)> = ...
setName: Mock<((name: string) => void)> = ...
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