00001 #ifndef GAMEFACTORY_HPP 00002 #define GAMEFACTORY_HPP 00003 00004 #include <vector> 00005 00006 class AbstractGame; 00007 00008 class GameFactory 00009 { 00010 public: 00011 static const int GT_Chess = 0; 00013 static const int CT_GNUChess = 0; 00014 static const int CT_Player = 1; 00016 private: 00017 00018 public: 00023 static int getNbControlersNeeded(int gameType); 00024 00032 static AbstractGame* createGame(int gameType, const std::vector<int>& controlerTypes); 00033 }; 00034 00043 #endif