Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9157 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 4, 2006, 5:21:08 PM (18 years ago)
Author:
patrick
Message:

aiming system compiles

Location:
branches/presentation/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/aiming_system.cc

    r9156 r9157  
    3333 * standart constructor
    3434 */
    35 AimingSystem::AimingSystem (PNode* source, const TiXmlElement* root)
     35AimingSystem::AimingSystem (const TiXmlElement* root)
    3636{
    3737  this->init();
     
    7575
    7676
    77 /**
    78  * @brief sets the size of the AimingSystem.
    79  * @param size the size in pixels
    80  */
    81 void AimingSystem::setSize(float size)
    82 {
    83 }
    84 
    8577
    8678
  • branches/presentation/src/world_entities/weapons/aiming_system.h

    r9156 r9157  
    2020
    2121 public:
    22   AimingSystem(PNode* source, const TiXmlElement* root = NULL);
     22  AimingSystem(const TiXmlElement* root = NULL);
    2323  virtual ~AimingSystem();
    2424
     
    3232
    3333  void setRange(float range){this->range = range;};
    34   void setAngle(float angle){this->angle = angle;};
    3534  void setGroup(OM_LIST group){this->group = group;};
    3635
     
    3938  virtual void draw() const;
    4039
     40
    4141 private:
    42    Material*        material;             //!< a material for the AimingSystem.
    43    float            rotationSpeed;        //!< Speed of the Rotation.
    44    tAnimation<AimingSystem>* anim;
    45 
    4642   float            range;                //!<
    47    float            angle;                //!<
    48    Vector           diffVec;
    4943   OM_LIST          group;
    5044
Note: See TracChangeset for help on using the changeset viewer.