Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 16, 2005, 3:19:47 PM (18 years ago)
Author:
stefalie
Message:

WorldEntities: Fixed bugs in bomb class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/world_entities/src/world_entities/weapons/bomb.cc

    r5590 r5603  
    1515
    1616#include "bomb.h"
     17#include "glincl.h"
     18#include "model.h"
     19#include "fast_factory.h"
    1720
    1821using namespace std;
    1922
     23CREATE_FAST_FACTORY_STATIC(Bomb, CL_BOMB);
    2024
    2125/**
     
    4650void Bomb::init()
    4751{
    48   this->setClassID(CL_PROTO_WORLD_ENTITY, "Bomb");
     52  this->setClassID(CL_BOMB, "Bomb");
    4953
    5054  /**
     
    6367{
    6468  // all the clases this Entity is directly derived from must be called in this way, to load all settings.
    65   static_cast<WorldEntity*>(this)->loadParam(root);
     69  static_cast<WorldEntity*>(this)->loadParams(root);
    6670
    6771
     
    7680 * @param time the Time to step
    7781 */
    78 Bomb::tick(float time)
     82void Bomb::tick(float time)
    7983{
    8084
     
    112116
    113117}
     118
     119void Bomb::activate()
     120{
     121
     122}
     123
     124void Bomb::deactivate()
     125{
     126
     127}
Note: See TracChangeset for help on using the changeset viewer.