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.
 
 
 
 
 
 

41 lines
592 B

  1. //
  2. // Deus Hax (working title)
  3. // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
  4. //
  5. //
  6. // The World class
  7. // ---------------
  8. //
  9. #if !defined __DH_WORLD_H__
  10. #define __DH_WORLD_H__
  11. #include "entity.h"
  12. class WorldData;
  13. class World : public Entity
  14. {
  15. public:
  16. World();
  17. virtual ~World();
  18. protected:
  19. /* Inherited from Entity */
  20. virtual char const *GetName();
  21. virtual void TickGame(float deltams);
  22. virtual void TickDraw(float deltams);
  23. public:
  24. /* New methods */
  25. int GetWidth();
  26. int GetHeight();
  27. private:
  28. WorldData *data;
  29. };
  30. #endif // __DH_WORLD_H__