dtGame::MapChangeStateData Class Reference

#include <mapchangestatedata.h>

List of all members.

Public Types

typedef std::vector< std::string > NameVector

Public Member Functions

 MapChangeStateData (dtGame::GameManager &gm)
const NameVectorGetOldMapNames () const
const NameVectorGetNewMapNames () const
const MapChangeStateGetCurrentState () const
void ChangeState (const MapChangeState &newState)
void BeginMapChange (const NameVector &oldMapNames, const NameVector &newMapNames, bool addBillboards, bool enableDatabasePaging)
 
Exceptions:
dtUtil::Exception with ExceptionEnum::GENERAL_GAMEMANAGER_EXCEPTION if the GameManager has been deleted.

void ContinueMapChange ()
 
Exceptions:
dtUtil::Exception with ExceptionEnum::GENERAL_GAMEMANAGER_EXCEPTION if the GameManager has been deleted.


Protected Member Functions

void LoadSingleMapIntoGM (const std::string &mapName)
bool OpenNewMaps ()
void CloseOldMaps ()

Classes

class  MapChangeState


Member Typedef Documentation

typedef std::vector<std::string> dtGame::MapChangeStateData::NameVector


Constructor & Destructor Documentation

dtGame::MapChangeStateData::MapChangeStateData ( dtGame::GameManager gm  ) 


Member Function Documentation

const NameVector& dtGame::MapChangeStateData::GetOldMapNames (  )  const [inline]

const NameVector& dtGame::MapChangeStateData::GetNewMapNames (  )  const [inline]

const MapChangeState& dtGame::MapChangeStateData::GetCurrentState (  )  const [inline]

void dtGame::MapChangeStateData::ChangeState ( const MapChangeState newState  )  [inline]

void dtGame::MapChangeStateData::BeginMapChange ( const NameVector oldMapNames,
const NameVector newMapNames,
bool  addBillboards,
bool  enableDatabasePaging 
)

Exceptions:
dtUtil::Exception with ExceptionEnum::GENERAL_GAMEMANAGER_EXCEPTION if the GameManager has been deleted.

void dtGame::MapChangeStateData::ContinueMapChange (  ) 

Exceptions:
dtUtil::Exception with ExceptionEnum::GENERAL_GAMEMANAGER_EXCEPTION if the GameManager has been deleted.

void dtGame::MapChangeStateData::LoadSingleMapIntoGM ( const std::string &  mapName  )  [protected]

bool dtGame::MapChangeStateData::OpenNewMaps (  )  [protected]

void dtGame::MapChangeStateData::CloseOldMaps (  )  [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008