class ONU
|
Class ONU (Organisation des Nations Unies = UNO : United Nations Organization)
is simply the list of the countries. More... |
|
|
Public Methods
Private Members
Class ONU (Organisation des Nations Unies = UNO : United Nations Organization)
is simply the list of the countries. Its implementation file contains the
data definining each country.
ONU (const QString& configFileName, BackGnd* backGnd)
| ONU |
Country* countryAt (int x, int y)
| countryAt |
This method returns a pointer to the country that contains the point (x,y).
f there is no country at (x,y), the functions returns 0.
Calls its reset method for each country
QPtrList<Country> getCountries (void)
| getCountries |
Return the countries list
Country* getCountryAt (unsigned int i)
| getCountryAt |
QPtrList<Nationality> getNationalities (void)
| getNationalities |
Returns the nationalities list
const QPtrList<Continent> getContinents ()
| getContinents |
[virtual]
QPtrList<Country> neighboursBelongingTo (const Country& country, const Player* player)
| neighboursBelongingTo |
Returns the list of countries neighbours of the parameter country that
belongs to the argument player.
QPtrList<Country> neighboursNotBelongingTo (const Country& country, const Player* player)
| neighboursNotBelongingTo |
Returns the list of countries neighbours of the parameter country that
does not belong to the argument player.
Country* countryNamed (const QString& name)
| countryNamed |
void communicatesWith_test (void)
| communicatesWith_test |
unsigned int getNbCountries (void)
| getNbCountries |
[const]
QPtrVector<Country> countries
| countries |
[private]
[private]
[private]
QImage countriesMask
| countriesMask |
[private]
Generated by: gael on noirdes.limsi.u-psud.fr on Fri Jan 3 17:03:38 2003, using kdoc 2.0a53. |