Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6512 in orxonox.OLD for trunk/src/lib/particles/particle_engine.h


Ignore:
Timestamp:
Jan 17, 2006, 10:01:07 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL

SuperClass::loadParams(root);

isntead of:
static_cast<SuperClass*>(this)→loadParams(root);

which was quite stupid anyways

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/particle_engine.h

    r5944 r6512  
    3737  inline static ParticleEngine* getInstance() { if (!singletonRef) singletonRef = new ParticleEngine();  return singletonRef; };
    3838
    39   void loadParams(const TiXmlElement* root);
     39  virtual void loadParams(const TiXmlElement* root);
    4040
    4141  void tick(float dt);
Note: See TracChangeset for help on using the changeset viewer.