00001 #include "texture.h" 00002 00003 CTexture::CTexture () 00004 { 00005 00006 } 00007 00008 CTexture::~CTexture () 00009 { 00010 00011 } 00012 00013 unsigned short CTexture::GetWidth () const 00014 { 00015 return m_unWidth; 00016 } 00017 00018 unsigned short CTexture::GetHeight () const 00019 { 00020 return m_unHeight; 00021 } 00022 00023 unsigned short CTexture::GetColor () const 00024 { 00025 return m_ucColor; 00026 } 00027 00028 const char* CTexture::GetFilename () const 00029 { 00030 return m_szFilename.c_str (); 00031 } 00032
1.3.8