#include <colony.h>
Collaboration diagram for Colony:

Public Member Functions | |
| ~Colony (void) | |
| void | Save (ofstream &of) |
Static Public Member Functions | |
| void | ResetAllColonies (void) |
Data Fields | |
| const icstring | species |
| const bool | homeWorld |
Static Public Attributes | |
| multimap< icstring, Colony * > | colonies |
Protected Member Functions | |
| Colony (const icstring aSpecies, Planet &aPl, const bool aHomeWorld=false) | |
Protected Attributes | |
| Planet & | pl |
Friends | |
| class | Planet |
|
||||||||||||||||
|
Definition at line 6 of file colony.cpp. References colonies.
|
|
|
Definition at line 12 of file colony.cpp.
00013 {
00014 }
|
|
|
Definition at line 16 of file colony.cpp. References colonies. Referenced by PlayGame::Load(), Galaxy::Reset(), and MainGame::~MainGame().
|
|
|
Definition at line 23 of file colony.cpp. References homeWorld, pl, and Planet::planetName.
00024 {
00025 of << "( \"" << pl.planetName << "\" " << homeWorld << ")" << endl;
00026 }
|
|
|
|
|
|
Definition at line 3 of file colony.cpp. Referenced by Colony(), ResetAllColonies(), and PlayGame::Save(). |
|
|
Definition at line 32 of file colony.h. Referenced by Planet::IsHomeWorldOf(), and Save(). |
|
|
Definition at line 25 of file colony.h. Referenced by Save(). |
|
|
Definition at line 31 of file colony.h. Referenced by Planet::DrawPlanet(), and Planet::IsHomeWorldOf(). |
1.3.3