Changeset 11739 for code/branches/Presentation_HS17_merge/src/modules/asteroidmining/AsteroidMinable.h
- Timestamp:
- Feb 12, 2018, 12:17:34 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/asteroidmining/AsteroidMinable.h
r11736 r11739 94 94 virtual void hit(Pawn* originator, btManifoldPoint& contactpoint, const btCollisionShape* cs, float damage, float healthdamage = 0.0f, float shielddamage = 0.0f); 95 95 96 void setSize( int s);97 inline int getSize(){return this->size;}96 void setSize(float s); 97 inline float getSize(){return this->size;} 98 98 99 99 inline void setShattering(bool b){this->generateSmaller = b;} … … 105 105 protected: 106 106 107 int size; //!< Implies health and type of dropped pickups107 float size; //!< Implies health and type of dropped pickups 108 108 bool generateSmaller; //!< Whether this asteroid leaves fragments 109 109 bool dropStuff; //!< Whether this asteroid yields valuable stuff
Note: See TracChangeset
for help on using the changeset viewer.