Pol  Revision:cb584c9
Pol::Core::StartingLocation Class Reference

#include <startloc.h>

Public Member Functions

size_t estimateSize () const
 
Coordinate select_coordinate () const
 

Public Attributes

std::string city
 
unsigned long cliloc_desc
 
std::vector< Coordinatecoords
 
std::string desc
 
unsigned short mapid
 
Realms::Realmrealm
 

Detailed Description

Definition at line 33 of file startloc.h.

Member Function Documentation

size_t Pol::Core::StartingLocation::estimateSize ( ) const

Definition at line 22 of file startloc.cpp.

References city, coords, and desc.

Coordinate Pol::Core::StartingLocation::select_coordinate ( ) const

Definition at line 15 of file startloc.cpp.

References coords, and Pol::Clib::random_int().

Member Data Documentation

std::string Pol::Core::StartingLocation::city

Definition at line 36 of file startloc.h.

Referenced by estimateSize().

unsigned long Pol::Core::StartingLocation::cliloc_desc

Definition at line 40 of file startloc.h.

std::vector<Coordinate> Pol::Core::StartingLocation::coords

Definition at line 46 of file startloc.h.

Referenced by estimateSize(), and select_coordinate().

std::string Pol::Core::StartingLocation::desc

Definition at line 37 of file startloc.h.

Referenced by estimateSize().

unsigned short Pol::Core::StartingLocation::mapid

Definition at line 39 of file startloc.h.

Realms::Realm* Pol::Core::StartingLocation::realm

Definition at line 38 of file startloc.h.


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