#include <GL/glu.h>
#include <SDL/SDL.h>
-#include <iostream>
-using std::cerr;
-using std::cout;
-using std::endl;
-
#include <vector>
using std::vector;
+#include "debug.h"
+
#include "game.h"
#include "ticks.h"
#include "graphics.h"
+#include "input/inputManager.h"
/// ***** Private Method Headers *****
// TODO
// add a game state
+#ifdef DEBUGGING
cout << "Initialization Complete" << endl;
+#endif
// create starting entities
+#ifdef DEBUGGING
cout << "World Created" << endl;
+#endif
}
void run()
void input()
{
+ inputUpdate();
+
gameInput();
- /*
- if(key[KEY_ESC])
+ if(isPressed(SDLK_ESCAPE))
is_Running = false;
- */
}
void update(float time_step)