Orxonox  0.0.5 Codename: Arcturus
WagnisProvince.h
Go to the documentation of this file.
1 
2 
3 
4 
5 
6 #ifndef Wagnis_Province_h
7 #define Wagnis_Province_h
8 
9 #include "WagnisPrereqs.h"
10 #include "core/CoreIncludes.h"
11 #include "core/XMLPort.h"
13 #include "tools/OgreBulletUtils.h"
14 #include <vector>
15 #include <OgreColourValue.h>
16 #include "tools/ToolsPrereqs.h"
17 
18 namespace orxonox
19 {
21  {
22  public:
24  virtual ~WagnisProvince();
25 
26 
27  virtual void XMLPort(Element&,XMLPort::Mode);
28 
29  void setOwner_ID(int);
30  void setTroops(int);
31  void setID(int);
32  void setContinent(int);
33  void highlight();
34  void dehighlight();
35 
36  int getOwner_ID() const;
37  int getTroops() const;
38  int getID() const;
39  int getContinent() const;
40 
41  void addNeighbor(WagnisProvince*);
42 
43 
44  std::vector<WagnisProvince*> neighbors;
45  int ID;
46  int continent;
47 
48  private:
49  int troops;
50  int owner_ID;
51 
52  };
53 }
54 
55 
56 #endif
int continent
Definition: WagnisProvince.h:46
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
int troops
Definition: WagnisProvince.h:49
Declaration of the XMLPort helper classes and macros.
Shared library macros, enums, constants and forward declarations for the tools module ...
Shared library macros, enums, constants and forward declarations for the questsystem module ...
Copy-pasted from http://www.ogre3d.org/tikiwiki/BulletDebugDrawer&structure=Cookbook This source code...
Definition: WagnisProvince.h:20
int owner_ID
Definition: WagnisProvince.h:50
#define _WagnisExport
Definition: WagnisPrereqs.h:58
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
int ID
Definition: WagnisProvince.h:45
Definition: Context.h:45
Defines several very important macros used to register objects, register classes, and to work with id...
std::vector< WagnisProvince * > neighbors
Definition: WagnisProvince.h:44