Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

46 Zeilen
851 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 World class
  12. // ---------------
  13. //
  14. #if !defined __DH_WORLD_H__
  15. #define __DH_WORLD_H__
  16. #include "entity.h"
  17. class WorldData;
  18. class World : public Entity
  19. {
  20. public:
  21. World();
  22. virtual ~World();
  23. protected:
  24. /* Inherited from Entity */
  25. virtual char const *GetName();
  26. virtual void TickGame(float deltams);
  27. virtual void TickDraw(float deltams);
  28. public:
  29. /* New methods */
  30. int GetWidth();
  31. int GetHeight();
  32. private:
  33. WorldData *data;
  34. };
  35. #endif // __DH_WORLD_H__