Skip to content

Class i_2D::MessageBoard

ClassList > i_2D > MessageBoard

More...

Public Functions

Type Name
void DrawTo (sf::RenderWindow & window)
Draws the message board onto the render window.
MessageBoard (sf::Font & font)
Construct the message board.
void Send (const std::string & message)
Set the text of the message board.

Detailed Description

is where the backend and users communicate by words

Public Functions Documentation

function DrawTo

Draws the message board onto the render window.

void i_2D::MessageBoard::DrawTo (
    sf::RenderWindow & window
) 

Parameters:

  • window The render window to be drawn on

function MessageBoard

Construct the message board.

explicit i_2D::MessageBoard::MessageBoard (
    sf::Font & font
) 

Parameters:

  • font The font used by message borad

function Send

Set the text of the message board.

inline void i_2D::MessageBoard::Send (
    const std::string & message
) 

Parameters:

  • message The message to set the text to

The documentation for this class was generated from the following file source/Interfaces/MessageBoard.hpp