Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

system.h

00001 // $Id: system_8h-source.html,v 1.2 2002/06/20 17:09:51 mkrohn5 Exp $
00002 
00003 // System Header File
00004 // Written by: Marco Krohn
00005 
00006 // Copyright (C) 2001 - , Marco Krohn, <marco.krohn@gmx.de>
00007 //
00008 // This program is free software; you can redistribute it and/or modify
00009 // it under the terms of the GNU General Public License as published by
00010 // the Free Software Foundation; either version 1, or (at your option)
00011 // any later version.
00012 //
00013 // This program is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
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 //----------------------------------------  class TSystem  ----------------------------------------
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

Generated on Thu Jun 20 18:13:16 2002 for Stellar Legacy by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001