Changeset 11615 for code/branches/AsteroidMining_HS17/src/modules/asteroidmining/SpicedAsteroidField.h
- Timestamp:
- Dec 1, 2017, 8:40:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AsteroidMining_HS17/src/modules/asteroidmining/SpicedAsteroidField.h
r11610 r11615 58 58 59 59 60 inline void setCount(float s){this->count = s;} 61 inline float getCount(){return this->count;} 60 62 61 virtual void setSize(float f);62 virtual float getSize();63 inline void setMineralDensity(float d){this->mDensity = d;} 64 inline float getMineralDensity(){return this->mDensity;} 63 65 66 inline void setPosition(Vector3 v){this->position = v;} 67 inline Vector3 getPosition(){returrn this->position;} 68 69 inline void setMaxSize(int i){this->maxSize = i;} 70 inline int getMaxSize(){return this->maxSize;} 71 72 inline void setMinSize(int i){this->minSize = i;} 73 inline int getMinSize(){return this->minSize;} 74 75 inline void setRadius(float r){this->radius = r;} 76 inline int getRadius(){return this->radius;} 77 78 inline void setFog(bool f){this->foggy = f;} 79 inline bool isFoggy(){return this->foggy;} 64 80 65 81 protected: … … 67 83 //float asteroidVersion; // Bodenstrich-Konvention?, 68 84 // Wert zwischen 1 und 6 (Spezialdinger?), die Mesh-Form 69 float size; 70 bool generateSmaller; 85 float count; 86 float mDensity; // Mineral density, between 0 and 1; 87 88 Vector3 position; 71 89 bool initialised; 90 Context* context; 91 int maxSize; 92 int minSize; 72 93 73 Context* context; 94 float radius; 95 bool foggy; 74 96 75 97 virtual void create();
Note: See TracChangeset
for help on using the changeset viewer.