Function drawText

  • Draw text at the given position

    Parameters

    • x: number

      The x coordinate to draw the text at

    • y: number

      The y coordinate to draw the text at

    • text: string

      The text to draw

    • font: GameFont

      The font to use when drawing

    • Optional col: string

      The color tint to apply

    Returns void

Generated using TypeDoc