- Timestamp:
- Jul 4, 2006, 5:21:08 PM (18 years ago)
- 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 33 33 * standart constructor 34 34 */ 35 AimingSystem::AimingSystem ( PNode* source,const TiXmlElement* root)35 AimingSystem::AimingSystem (const TiXmlElement* root) 36 36 { 37 37 this->init(); … … 75 75 76 76 77 /**78 * @brief sets the size of the AimingSystem.79 * @param size the size in pixels80 */81 void AimingSystem::setSize(float size)82 {83 }84 85 77 86 78 -
branches/presentation/src/world_entities/weapons/aiming_system.h
r9156 r9157 20 20 21 21 public: 22 AimingSystem( PNode* source,const TiXmlElement* root = NULL);22 AimingSystem(const TiXmlElement* root = NULL); 23 23 virtual ~AimingSystem(); 24 24 … … 32 32 33 33 void setRange(float range){this->range = range;}; 34 void setAngle(float angle){this->angle = angle;};35 34 void setGroup(OM_LIST group){this->group = group;}; 36 35 … … 39 38 virtual void draw() const; 40 39 40 41 41 private: 42 Material* material; //!< a material for the AimingSystem.43 float rotationSpeed; //!< Speed of the Rotation.44 tAnimation<AimingSystem>* anim;45 46 42 float range; //!< 47 float angle; //!<48 Vector diffVec;49 43 OM_LIST group; 50 44
Note: See TracChangeset
for help on using the changeset viewer.