Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 5, 2006, 12:49:40 AM (18 years ago)
Author:
bensch
Message:

less errors/segfaults

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/npcs/space_turret.h

    r9178 r9180  
    11/*!
    2  * @file ground_turret.h
     2 * @file space_turret.h
    33 * @brief description
    44*/
    55
    6 #ifndef _GROUND_TURRET_H
    7 #define _GROUND_TURRET_H
     6#ifndef _SPACE_TURRET_H
     7#define _SPACE_TURRET_H
    88
    99#include "npcs/npc.h"
     
    1212
    1313//! A Class to ...
    14 class GroundTurret : public NPC
     14class SpaceTurret : public NPC
    1515{
    1616
    17  public:
    18   GroundTurret(const TiXmlElement* root = NULL);
    19   virtual ~GroundTurret();
     17public:
     18  SpaceTurret(const TiXmlElement* root = NULL);
     19  virtual ~SpaceTurret();
    2020
    21   void init();
    2221  virtual void loadParams(const TiXmlElement* root);
    2322
     
    3029  virtual void tick(float time);
    3130
    32  private:
    33    PNode  weaponHolder[2];
    34    Weapon *left, *right;
     31private:
     32  void init();
     33
     34
     35private:
     36  PNode  weaponHolder[2];
     37  Weapon *left, *right;
    3538};
    3639
    37 #endif /* _GROUND_TURRET_H */
     40#endif /* _SPACE_TURRET_H */
Note: See TracChangeset for help on using the changeset viewer.