Skip to content

Console

fgrimau edited this page Dec 28, 2019 · 12 revisions

The Console class

Handles a complete console with text input for the user, text output from the rest of the game, the drawing of itself and the updating

Console Methods

Constructors

  • Console()
  • Console(TTF_Font*)
  • Console(const Console&)
  • ~Console()
  • Console& operator=(const Console&)

Getters

Setters

  • int set_font(TTF_Font*)

Others

  • int draw(Screen*) override
  • int update(SDL_Event*, Screen*) override
  • int update_layout(Screen*)

Clone this wiki locally