- Timestamp:
- Oct 24, 2018, 11:22:05 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/src/modules/wagnis/WagnisProvince.h
r12049 r12051 10 10 #include "core/CoreIncludes.h" 11 11 #include "core/XMLPort.h" 12 #include "worldentities/ StaticEntity.h"12 #include "worldentities/MovableEntity.h" 13 13 #include <vector> 14 14 … … 16 16 namespace orxonox 17 17 { 18 class WagnisProvince : public StaticEntity18 class WagnisProvince : public MovableEntity 19 19 { 20 20 public: 21 21 WagnisProvince(Context*); 22 22 virtual ~WagnisProvince(); 23 void setPosition(const Vector3&) override; 24 void setOrientation(const Quaternion&) override; 25 void addNeighbor(WagnisProvince*); 23 virtual void XMLPort(Element&,XMLPort::Mode); 26 24 27 25 void setOwner_ID(int); … … 30 28 void setContinent(int); 31 29 32 int getOwner_ID() ;33 int getTroops() ;34 int getID() ;35 int getContinent() ;30 int getOwner_ID() const; 31 int getTroops() const; 32 int getID() const; 33 int getContinent() const; 36 34 37 35 void addNeighbor(WagnisProvince*); 36 38 37 private: 39 38 int owner_ID; … … 42 41 int continent; 43 42 std::vector<WagnisProvince*> neighbors; 44 Vector3 position;45 Quaternion orientation;46 43 }; 47 44 }
Note: See TracChangeset
for help on using the changeset viewer.