Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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/world_entities/power_ups/laser_power_up.h

    r6424 r6512  
    1919  virtual ~LaserPowerUp ();
    2020
     21  virtual void loadParams(const TiXmlElement* root);
     22
     23
    2124  virtual void LaserPowerUp::collidesWith(WorldEntity* entity, const Vector& location);
    2225  virtual void tick(float dt);
     
    2831  private:
    2932   void init();
    30    void loadParams(const TiXmlElement* root);
    3133
    3234  private:
Note: See TracChangeset for help on using the changeset viewer.