]> git.localhorst.tv Git - sdl-test8.git/blobdiff - src/sdl/InitSDL.h
added collision engine, more or less stole gameplay from sdl-test7
[sdl-test8.git] / src / sdl / InitSDL.h
diff --git a/src/sdl/InitSDL.h b/src/sdl/InitSDL.h
new file mode 100644 (file)
index 0000000..016c0b4
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * InitSDL.h
+ *
+ *  Created on: Apr 22, 2012
+ *      Author: holy
+ */
+
+#ifndef SDL_INITSDL_H_
+#define SDL_INITSDL_H_
+
+#include <SDL/SDL.h>
+
+
+namespace sdl {
+
+class InitSDL {
+
+       public:
+               explicit InitSDL(Uint32 flags = SDL_INIT_EVERYTHING);
+               virtual ~InitSDL(void);
+       private:
+               InitSDL(const InitSDL &);
+               InitSDL &operator =(const InitSDL &);
+
+};
+
+}
+
+#endif /* SDL_INITSDL_H_ */