Game.h 413 B

12345678910111213141516171819202122
  1. #ifndef GAME_H
  2. #define GAME_H
  3. #include "client/input/Controller.h"
  4. #include "common/block/BlockRegistry.h"
  5. #include "common/entities/Player.h"
  6. #include "common/world/World.h"
  7. namespace Game {
  8. extern BlockRegistry blockRegistry;
  9. extern World world;
  10. extern Controller controller;
  11. extern Player player;
  12. bool init();
  13. void tick();
  14. void renderWorld();
  15. void renderOverlay();
  16. }
  17. #endif