Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

TGameCreate Class Reference

Supports the creation of a new game / universe. More...

#include <game-create.h>

Inheritance diagram for TGameCreate:

Inheritance graph
[legend]
Collaboration diagram for TGameCreate:

Collaboration graph
[legend]
List of all members.

Public Methods

 TGameCreate (const string &gameDir, const string &gameName)
bool createGame ()

Protected Methods

virtual void PDBGame (TDataPackageList *block)

Detailed Description

Supports the creation of a new game / universe.

Author:
Alberto Barsella <> Marco Krohn <marco.krohn@gmx.de>
Version:
Id:
game-create.h,v 1.2 2002/05/11 23:54:38 mkrohn5 Exp

FIXME


Constructor & Destructor Documentation

TGameCreate::TGameCreate const string &    gameDir,
const string &    gameName
 

Sets the game name and game dir. You have to explicitly call createGame to create a new game.

Parameters:
gameDir  The path to the game directory.
gameName  The name of the game.


Member Function Documentation

bool TGameCreate::createGame  
 

Creates a new game.

Returns:
true if the game creation was successful, otherwise false.

virtual void TGameCreate::PDBGame TDataPackageList   block [protected, virtual]
 

Creates a demo galaxy.???

Deprecated:
This is for demonstration purposes only! The real solution is to load a galaxy description file which will be realized in the TStartUp class.

Reimplemented from TGame.


The documentation for this class was generated from the following file:
Generated on Thu Jun 20 18:13:23 2002 for Stellar Legacy by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001