Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2005, 2:42:54 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches: Power-UPS:
added capability to Collide with a PowerUP. This has been added through the conjunction between:

  1. Model* a= new Model
  2. this→setModel(a)
  3. this→buildObbTree(n);

Now the Sphere is loaded easily, and fast
Also the draw algorithm is as modern, as it should be :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/powerups/src/world_entities/extendable.h

    r6113 r6269  
    1717class Extendable : virtual public BaseObject {
    1818
    19  public:
    20 //   Extendable();
    21 //   virtual ~Extendable();
     19  public:
     20   //   virtual ~Extendable();
    2221   virtual bool pickup(PowerUp* powerUp) { return false; };
    2322
    24  private:
     23  protected:
     24    Extendable() { this->setClassID(CL_EXTENDABLE, "Extendable"); };
     25
     26  private:
    2527
    2628};
Note: See TracChangeset for help on using the changeset viewer.