TapestryEngine

A 2D Platformer Game Engine
Log | Files | Refs

385c44c233f361b4588a424ca33f56fe3f88bb3c.svn-base (255B)


      1 #ifndef LAYER_H
      2 #define LAYER_H
      3 
      4 #include "Utils.h"
      5 #include "Console.h"
      6 
      7 class Layer
      8 {
      9 public:
     10 
     11 	SDL_Texture* mTex;
     12 	int mParallaxFactor;
     13 
     14 };
     15 
     16 class SlidingLayer : public Layer
     17 {
     18 public:
     19 
     20 	int mXspd;
     21 	int mYspd;
     22 
     23 	int mXoffset;
     24 	int mYoffeset;
     25 };
     26 
     27 #endif