TapestryEngine

A 2D Platformer Game Engine
Log | Files | Refs

da7ea039d0603ca6eef25b76822f741adf0eb352.svn-base (344B)


      1 #ifndef LOADING_H
      2 #define LOADING_H
      3 
      4 #include "Utils.h"
      5 #include "Console.h"
      6 #include "Context.h"
      7 #include "Event.h"
      8 
      9 class Loading : public Context
     10 {
     11 public:
     12 	
     13 	Loading() {};
     14 
     15 	Loading(SDL_Renderer* ren)
     16 	{
     17 		mRen = ren;
     18 	}
     19 
     20 	bool Load(const char* filename);
     21 
     22 	bool Update();
     23 
     24 	EventFeed mFeed;
     25 
     26 protected:
     27 
     28 	SDL_Texture* mSplash;
     29 
     30 };
     31 
     32 #endif