C:/Users/Mike/Documents/Visual Studio Projects/GameEngine/src/GameUtils.cpp

Go to the documentation of this file.
00001 #include "GameUtils.h"
00002 
00003 namespace GameEngine {
00004 
00005         int GameUtils::mUniqueIdCount = 0;
00006         
00007         std::string GameUtils::generateUniqueName(std::string name)
00008         {
00009                 std::string uniqueId = Ogre::StringConverter::toString(mUniqueIdCount);
00010                 std::string uniqueName = name + "_" + uniqueId;
00011 
00012                 mUniqueIdCount++;
00013                 return  uniqueName;
00014         }
00015 
00016 
00017 
00018 }

Generated on Thu Apr 19 09:47:02 2007 for GameEngine by  doxygen 1.5.2