Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 26, 2008, 2:17:18 PM (16 years ago)
Author:
polakma
Message:

pojectile compiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/ParticleProjectile.cc

    r2232 r2272  
    3838    CreateFactory(ParticleProjectile);
    3939
    40     ParticleProjectile::ParticleProjectile(BaseObject* creator, Weapon* owner) : BillboardProjectile(creator, owner)
     40    ParticleProjectile::ParticleProjectile(BaseObject* creator) : BillboardProjectile(creator)
    4141    {
    4242        RegisterObject(ParticleProjectile);
     
    4545        this->particles_->addToSceneNode(this->getNode());
    4646        this->particles_->setKeepParticlesInLocalSpace(true);
     47
     48        /*
    4749        if (this->owner_)
    4850        {
     
    5254//            this->particles_ = 0;
    5355//        }
     56        */
    5457
    5558        this->setConfigValues();
     
    6467    void ParticleProjectile::setConfigValues()
    6568    {
    66         SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second").callback((Projectile*)this, &ParticleProjectile::speedChanged);
     69        //SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second").callback((Projectile*)this, &ParticleProjectile::speedChanged);
    6770    }
    6871
Note: See TracChangeset for help on using the changeset viewer.