server_new/action_skill.h

Go to the documentation of this file.
00001 /* $Id:action_skill.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 __ACTION_SKILL_H
00015 #define __ACTION_SKILL_H
00016 
00017 #include <string>
00018 #include <map>
00019 #include <list>
00020 using namespace std;
00021 
00022 
00023 
00024 class action_skill {
00025     class skill *first_skill;
00026     class special *first_special;
00027     class skill *second_skill;
00028     class special *second_special;
00029     int level;
00030 public:
00031     action_skill();
00032 
00033     // Field : first_skill
00034     class skill& getFirst_skill() const;
00035     void setFirst_skill(class skill &v);
00036 
00037     // Field : first_special
00038     class special& getFirst_special() const;
00039     void setFirst_special(class special &v);
00040 
00041     // Field : second_skill
00042     class skill& getSecond_skill() const;
00043     void setSecond_skill(class skill &v);
00044 
00045     // Field : second_special
00046     class special& getSecond_special() const;
00047     void setSecond_special(class special &v);
00048 
00049     // Field : level
00050     const int getLevel() const;
00051     void setLevel(const int v);
00052 
00053     void save(class channel &ch);
00054     void load(class channel &ch);
00055     void xml(ofstream &f, int l=0, int r=0);
00056 };
00057 
00058 #endif // __ACTION_SKILL_H


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