Guest User

Untitled

a guest
Jun 17th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. IEntitie * EntitieFactory::operator[](eEntitie type)
  2. {
  3.     std::map <eEntitie, IPlugin *> ::iterator it = this->entities.find(type);
  4.  
  5.     if (it != this->entities.end())
  6.         return it->second->getClient();
  7.     else
  8.         return NULL;
  9. }
Add Comment
Please, Sign In to add comment