Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 10, 2005, 12:33:31 AM (19 years ago)
Author:
bensch
Message:

world_entities: new AimingTurret added.
This turret aims a Target that is the nearest one, and shoots in its direction

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/world_entities/src/world_entities/weapons/aiming_turret.h

    r5526 r5527  
    11/*!
    2  * @file turret.h
     2 * @file aiming_turret.h
    33*/
    44
    55
    6 #ifndef _TURRET_H
    7 #define _TURRET_H
     6#ifndef _AIMING_TURRET_H
     7#define _AIMING_TURRET_H
    88
    99#include "weapon.h"
    1010
    11 class Turret : public Weapon
     11class AimingTurret : public Weapon
    1212  {
    1313  public:
    14     Turret (WeaponManager* weaponManager);
    15     Turret(const TiXmlElement* root);
    16     virtual ~Turret ();
     14    AimingTurret (WeaponManager* weaponManager);
     15    AimingTurret(const TiXmlElement* root);
     16    virtual ~AimingTurret ();
    1717
    1818    void init();
     
    2929
    3030  private:
     31    PNode*          target;
    3132  };
    3233
    33 #endif /* _TURRET_H */
     34#endif /* _AIMING_TURRET_H */
Note: See TracChangeset for help on using the changeset viewer.