Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 6:45:02 PM (16 years ago)
Author:
landauf
Message:

fixed tcl initialisation bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/objects/Projectile.cc

    r1425 r1454  
    2727 */
    2828
     29#include <OgreBillboard.h>
     30
    2931#include "OrxonoxStableHeaders.h"
    3032#include "Projectile.h"
     
    4143{
    4244    CreateFactory(Projectile);
     45
     46    float Projectile::speed_ = 0;
    4347
    4448    Projectile::Projectile(SpaceShip* owner) :
     
    104108        delete this;
    105109    }
     110
     111    void Projectile::setColour(const ColourValue& colour)
     112    {
     113        this->billboard_.getBillboardSet()->getBillboard(0)->setColour(colour);
     114    }
    106115}
Note: See TracChangeset for help on using the changeset viewer.