00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __SYSTEM_INCLUDED
00019 #define __SYSTEM_INCLUDED
00020
00021 #include "gamelogic/planet.h"
00022 #include "common/plist.h"
00023 #include "gamelogic/stobj.h"
00024
00025 class TDataPackageList;
00026 class TPlanet;
00027
00028
00029
00030
00031
00032
00033
00043 class TSystem : public TStellarObject
00044 {
00045 public:
00046 TSystem( const TPoint& Pos=0 );
00047 virtual ~TSystem();
00048
00053 virtual int2 getType() const;
00057 virtual const string& getTypeName() const;
00064 virtual bool load( TDataPackageList* in );
00071 virtual bool save( TDataPackageList* out ) const;
00072
00073 protected:
00074 TPList<TPlanet> fPlanets;
00075 };
00076
00077
00078
00079
00080
00081 #endif // __SYSTEM_INCLUDED