D:/simple_rts/src/UnitType.cpp

Go to the documentation of this file.
00001 #include "UnitType.h"
00002 
00003 
00004 namespace ASR
00005 {
00006         // ----------------------------------------------------------------------------
00007         UnitType::UnitType(const String& typeName )
00008                 : mTypeName ( typeName )
00009         {
00010         }
00011 
00012 
00013         // ----------------------------------------------------------------------------
00014         void UnitType::setMesh ( const String& meshName )
00015         {
00016                 mMeshName = meshName;
00017         }
00018 
00019 
00020         // ----------------------------------------------------------------------------
00021         void UnitType::setMaterial ( const String& materialName )
00022         {
00023                 mMaterialName = materialName;
00024         }
00025 
00026 
00027         // ----------------------------------------------------------------------------
00028         const String& UnitType::getMeshName () const
00029         {
00030                 return mMeshName;
00031         }
00032 
00033 
00034         // ----------------------------------------------------------------------------
00035         const String& UnitType::getMaterialName () const
00036         {
00037                 return mMaterialName;
00038         }
00039 }

Generated on Sun Jun 25 19:23:43 2006 for Valors End by  doxygen 1.4.7