Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2017, 1:07:17 PM (8 years ago)
Author:
remartin
Message:

Major breakthrough: Variable Collision shape works, error in spawnChildren() found (health…). Smaller problems remain (Weird initial velocity, correct health setting).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AsteroidMining_HS17/src/modules/asteroidmining/AsteroidMinable.h

    r11581 r11586  
    5050
    5151        public:
    52             AsteroidMinable(Context* context);
     52            AsteroidMinable(Context* context);// This constructor is for XML access only!
     53            AsteroidMinable(Context* c, float size, Vector3 position);// Call this Constructor from other C-files.
     54
    5355            virtual ~AsteroidMinable();
    5456            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     
    6466            virtual void setSize(float f);
    6567            virtual float getSize();
     68
     69            virtual void toggleShattering(bool b);
    6670
    6771
Note: See TracChangeset for help on using the changeset viewer.