Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 5:38:24 PM (19 years ago)
Author:
bensch
Message:

added laser-cannon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/laser_cannon.h

    r9131 r9159  
    2727
    2828
    29 //! a weapon can be left or right sided
    30 /**
    31  * @todo this will be reset with mirror X/Y/Z
    32  */
    33 #define    W_LEFT        0
    34 #define    W_RIGHT       1
    35 
    36 
    3729class LaserCannon : public Weapon
    3830  {
    3931  public:
    40     LaserCannon (int leftRight);
    41     LaserCannon (const TiXmlElement* root);
     32    LaserCannon (const TiXmlElement* root = NULL);
    4233    virtual ~LaserCannon ();
    4334
     
    5041    virtual void fire();
    5142
    52     virtual void draw() const;
    53 
    5443  private:
    5544    PNode* objectComponent1;         //<! the gun is made of multiple parts, these PNodes represent their location and orientation
     45  };
    5646
    57     int leftRight;   // this will become an enum
    58   };
    5947#endif /* _LASER_CANNON_H */
Note: See TracChangeset for help on using the changeset viewer.