server_new/background_level.h

Go to the documentation of this file.
00001 /* $Id:background_level.h $ */
00002 /*
00003    Copyright (C) 2007 by Jurjen Stellingwerff <jurjen@stwerff.xs4all.nl>
00004    Part of the Moros Project http://moros.sourceforge.net/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License version 3.
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY.
00010 
00011    See the COPYING file for more details.
00012 */
00013 
00014 #ifndef __BACKGROUND_LEVEL_H
00015 #define __BACKGROUND_LEVEL_H
00016 
00017 #include <string>
00018 #include <map>
00019 #include <list>
00020 using namespace std;
00021 
00022 
00023 
00024 class background_level {
00025     class background *background;
00026     int level;
00027 public:
00028     background_level();
00029 
00030     // Field : background
00031     class background& getBackground() const;
00032     void setBackground(class background &v);
00033 
00034     // Field : level
00035     const int getLevel() const;
00036     void setLevel(const int v);
00037     int operator<(const class background_level &ck) const;
00038 
00039     void save(class channel &ch);
00040     void load(class channel &ch);
00041     void xml(ofstream &f, int l=0, int r=0);
00042 };
00043 
00044 #endif // __BACKGROUND_LEVEL_H


Generated on Tue Jan 1 17:30:00 2008 for server_new/background_level.h Source File by  doxygen   Visit the project page on SourceForge.net Logo