Game.h 382 B

123456789101112131415161718192021
  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. namespace Game {
  7. extern Controller controller;
  8. extern Entity player;
  9. bool init();
  10. void tick();
  11. void renderWorld();
  12. void renderOverlay();
  13. void onEntityUpdate(EntityUpdatePacket& p);
  14. }
  15. #endif