Animations and Levels now stored in vectors. Updated constructors to
pass names along and completed some name-related functions.
--- /dev/null
+#ifndef LOADLEVELS
+#define LOADLEVELS
+#include <vector>
+#include "fns.h"
+
+/// Add all levels and includes here
+#include "Level.h"
+#include "LevelWorld.h"
+
+using namespace std;
+
+
+/**
+ This is a container for creating all the levels in a neat location so as not to bulk up the Game class
+
+ This class is tasked with the following:
+ - Creating all the levels.
+ */
+class LoadLevels{
+public:
+ LoadLevels(SDL_Surface* screen){
+ levels.push_back(new LevelWorld(screen));
+ }
+
+ vector<Level*> levels;
+};
+#endif