Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Title Class

Gammer0909 edited this page Feb 8, 2023 · 6 revisions

The Title Class

The title class handles drawing titles to the screen.

a single line title looks like this (only single line titles are currently available):

╔═════════╗

║ Hello, World ║

╚═════════╝

(Without returns between each line)

RenderSingleTitle(string titleText)

Renders a single line title like the one above, which look like:

RenderSingleTitle("Hello, World");

RenderMultiTitle(int height, int whereTextGoes, string titleText, bool fillerOrSpace)

Renders a multi line title with the text where you wish for it to be

the fillerOrSpace param dictates if the empty spaces (No text) will be #'s or a space.

the whereTextGoes param dictates which layer the text goes on