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.

39 lines
740 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. //
  11. // The Map class
  12. // -------------
  13. // A Map object is a collection of Layers and other information (to be
  14. // determined later).
  15. //
  16. #if !defined __DH_MAP_H__
  17. #define __DH_MAP_H__
  18. class MapData;
  19. class Map
  20. {
  21. public:
  22. Map(char const *path);
  23. ~Map();
  24. void Render(int x, int y, int z);
  25. int GetWidth();
  26. int GetHeight();
  27. private:
  28. MapData *data;
  29. };
  30. #endif // __DH_MAP_H__