D:/simple_rts/include/UnitType.h

Go to the documentation of this file.
00001 #ifndef __UNIT_TYPE_H__
00002 #define __UNIT_TYPE_H__
00003 
00004 #pragma once
00005 
00006 #include "OgreString.h"
00007 using Ogre::String;
00008 
00009 namespace ASR
00010 {
00011         class UnitType
00012         {
00013         // Data Members
00014         // ----------------------------------------------------------------------------
00015         private:
00016                 String          mTypeName;
00017                 String          mMeshName;
00018                 String          mMaterialName;
00019 
00020 
00021         // Construction
00022         // ----------------------------------------------------------------------------
00023         public:
00024                 UnitType ( const String& typeName );
00025 
00026                 void setMesh ( const String& meshName );
00027                 void setMaterial ( const String& materialName );
00028 
00029 
00030         // Query Methods
00031         // ----------------------------------------------------------------------------
00032                 const String& getMeshName () const;
00033                 const String& getMaterialName () const;
00034         };
00035 }
00036 
00037 #endif

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