You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
515 B

  1. //
  2. // Deus Hax (working title)
  3. // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
  4. //
  5. //
  6. // The Map class
  7. // -------------
  8. // A Map object is a collection of Layers and other information (to be
  9. // determined later).
  10. //
  11. #if !defined __DH_MAP_H__
  12. #define __DH_MAP_H__
  13. #include "scene.h"
  14. class MapData;
  15. class Map
  16. {
  17. public:
  18. Map(char const *path);
  19. ~Map();
  20. void Render(Scene *scene, int x, int y, int z);
  21. int GetWidth();
  22. int GetHeight();
  23. private:
  24. MapData *data;
  25. };
  26. #endif // __DH_MAP_H__