C:/Documents and Settings/jegan/Desktop/projectX/Game.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "Level.h"
00004 #include <string>
00005 #include <iostream>
00006 #include <queue>
00007 
00008 #include "Screen.h"
00009 
00010 class Game
00011 {
00012 public:
00013         Game(int levelnum = 0);
00014         ~Game();
00015 
00016         void init();
00017         bool mainLoop();
00018         bool nextLevel();
00019         bool wonLevel(){return _currentLevel->getWon();};
00020         void loadLevel( std::string filename );
00021         void resetLevel(){ _currentLevel->reset(); };
00022 
00023 private:
00024         Level* _currentLevel;
00025         std::queue< std::string > _levelList;
00026 };

Generated on Fri May 5 00:20:18 2006 for ProjectX by  doxygen 1.4.6-NO