CodeSubWars 0.4.7b
CodeSubWars::CSWTextMessage Class Reference

#include <CSWTextMessage.h>

Inheritance diagram for CodeSubWars::CSWTextMessage:

Public Member Functions

const std::string & getText () const

Static Public Member Functions

static PtrType create (const std::string &strMessage)

Detailed Description

This is the specialized class for text messages.

Member Function Documentation

◆ create()

CSWTextMessage::PtrType CodeSubWars::CSWTextMessage::create ( const std::string &  strMessage)

Creates a new text message.

strMessageThe text which should contain the message.

◆ getText()

const std::string & CodeSubWars::CSWTextMessage::getText ( ) const

Returns the text containing the message.

Generated at Sun Aug 7 2022 for project CodeSubWars.