Cafu Engine
DeathMatch::GameInfoT Class Reference

This class provides the "DeathMatch" implementation of the GameInfoI interface. More...

#include "GameInfo.hpp"

Inheritance diagram for DeathMatch::GameInfoT:

Public Member Functions

std::string GetName () const
 Returns the name of this game. More...
 
cf::GameSys::GameICreateGame () const
 Creates and returns an instance of this game. More...
 
- Public Member Functions inherited from cf::GameSys::GameInfoI
virtual ~GameInfoI ()
 The virtual destructor, so that derived classes can safely be deleted via a GameInfoI (base class) pointer. More...
 

Detailed Description

This class provides the "DeathMatch" implementation of the GameInfoI interface.

Member Function Documentation

cf::GameSys::GameI * GameInfoT::CreateGame ( ) const
virtual

Creates and returns an instance of this game.

Implements cf::GameSys::GameInfoI.

std::string GameInfoT::GetName ( ) const
virtual

Returns the name of this game.

Among other purposes, the returned string is used in the client and server to construct file system paths to game resource files. Consequently, the returned name should only consist of a subset of characters that are valid for use in directory and file names.

Implements cf::GameSys::GameInfoI.


The documentation for this class was generated from the following files: