Changeset 4179 in orxonox.OLD for orxonox/branches/physics/src/util/physics/field.cc
- Timestamp:
- May 13, 2005, 11:39:44 PM (19 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/util/physics/field.cc
r4178 r4179 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ … … 16 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 17 17 18 #include " proto_class.h"18 #include "field.h" 19 19 20 20 using namespace std; … … 25 25 \todo this constructor is not jet implemented - do it 26 26 */ 27 ProtoClass::ProtoClass()27 Field::Field () 28 28 { 29 this->setClassName (" ProtoClass");29 this->setClassName ("Field"); 30 30 } 31 31 … … 35 35 36 36 */ 37 ProtoClass::~ProtoClass()37 Field::~Field () 38 38 { 39 39 // delete what has to be deleted here 40 40 } 41 42 43 /** 44 \param magnitude the magnitude of the Field. 45 */ 46 void Field::setMagnitude(const float& magnitude) 47 { 48 this->magnitude = magnitude; 49 } 50 51 /** 52 \param attenuation The attenuation of the Field (the bigger the smaller the region of influence) 53 */ 54 void Field::setAttenuation(const float& attenuation) 55 { 56 this->attenuation = attenuation; 57 }
Note: See TracChangeset
for help on using the changeset viewer.