Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7103 in orxonox.OLD for trunk/src/world_entities/npcs


Ignore:
Timestamp:
Feb 7, 2006, 9:45:52 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: explosion works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/ground_turret.cc

    r7102 r7103  
    2727#include "load_param.h"
    2828
     29#include "effects/explosion.h"
     30
    2931CREATE_FACTORY(GroundTurret, CL_GROUND_TURRET);
    3032
     
    6062{
    6163  this->setClassID(CL_GROUND_TURRET, "GroundTurret");
    62   this->loadModel("models/ground_turret.obj", 5);
     64  this->loadModel("models/ground_turret_#.obj", 5);
    6365  this->left = NULL;
    6466  this->right = NULL;
     
    176178{
    177179  this->setAbsDirSoft(Quaternion(-90, Vector(0,0,1)), 90);
     180  Explosion::explode(this, Vector(5,50,0));
    178181}
    179182
Note: See TracChangeset for help on using the changeset viewer.