Source: ksirk/nationality.h
|
|
|
|
/***************************************************************************
nationality.h - description
-------------------
begin : sam aoû 31 2002
copyright : (C) 2002 by Gael de Chalendar
email : Gael.de.Chalendar@libertysurf.fr
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef NATIONALITY_H
#define NATIONALITY_H
#include
#include
#include "animsprite.h"
#include "backgnd.h"
/**The Nationality class stores all what represents a country identity : name, flag, etc.
*@author Gael de Chalendar
*/
class BackGnd;
class AnimSprite;
class Nationality : public QObject
{
Q_OBJECT
public:
Nationality(BackGnd *backGnd, const QString &myName, const QString &myFlag);
/** Read property of AnimSprite flag. */
const AnimSprite* getFlag();
/** Read property of QString flagFileName. */
virtual const QString& getFlagFileName() const;
private: // Private attributes
/** The flag of this nationality. This one of its associated country in the real world. */
AnimSprite *flag;
/** The name the nationality. The name of its associated country in the real world. */
QString name;
/** */
const QString flagFileName;
};
#endif // NATIONALITY_H
Generated by: gael on noirdes.limsi.u-psud.fr on Fri Jan 3 17:03:38 2003, using kdoc 2.0a53. |