00001 #ifndef __SUBWORLD_H 00002 #define __SUBWORLD_H 00003 00004 00005 class SubWorld; 00006 00007 #include "graphics.h" 00008 #include "background.h" 00009 00010 class SubWorld { 00011 public: 00012 SubWorld(Graphics &); 00013 00014 ~SubWorld(); 00015 00016 Background &GetBackground() const { return *background; } 00017 00018 void SubWorldToScreen(float &x, float &y); 00019 void ScreenToSubWorld(float &x, float &y); 00020 private: 00021 Background *background; 00022 Graphics &GD; 00023 }; 00024 00025 #endif 00026