00001 00002 //---------------------------------------------------------------------------------------------------------------- 00003 // Class definition include 00004 //---------------------------------------------------------------------------------------------------------------- 00005 #include "AxeThing.h" 00006 00007 //---------------------------------------------------------------------------------------------------------------- 00008 // Class implementation 00009 //---------------------------------------------------------------------------------------------------------------- 00012 //------------------------------------------------------------------------------------------------------------ 00013 // Constructors & Destructors 00014 //------------------------------------------------------------------------------------------------------------ 00015 00016 /* 00017 * Creates an AxeThing 00018 */ 00019 AxeThing :: AxeThing() 00020 { 00021 00022 } 00023 00024 /* 00025 * Destroys an AxeThing 00026 */ 00027 AxeThing :: ~AxeThing() 00028 { 00029 00030 } 00031 00032 //------------------------------------------------------------------------------------------------------------ 00033 // Methods 00034 //------------------------------------------------------------------------------------------------------------ 00035 00036 void AxeThing :: setDescription(std::string aDescription) 00037 { 00038 description = aDescription; 00039 } 00040 00041 std::string AxeThing :: getDescription() 00042 { 00043 return description; 00044 } 00045 00046 void AxeThing :: setLength(int aLength) 00047 { 00048 length = aLength; 00049 } 00050 00051 int AxeThing :: getLength() 00052 { 00053 return length; 00054 }