Game.h 438 B

1234567891011121314151617181920212223
  1. #ifndef GAME_H
  2. #define GAME_H
  3. #include "client/input/Controller.h"
  4. #include "common/entities/Entity.h"
  5. #include "common/network/toclient/EntityUpdatePacket.h"
  6. #include "common/world/World.h"
  7. namespace Game {
  8. extern World world;
  9. extern Controller controller;
  10. extern Entity player;
  11. bool init();
  12. void tick();
  13. void renderWorld();
  14. void renderOverlay();
  15. void onEntityUpdate(EntityUpdatePacket& p);
  16. }
  17. #endif