12345678910111213141516171819202122232425 |
- #ifndef GAME_H
- #define GAME_H
- #include "client/input/Controller.h"
- #include "common/block/BlockRegistry.h"
- #include "common/entities/Entity.h"
- #include "common/network/toclient/EntityUpdatePacket.h"
- #include "common/world/World.h"
- namespace Game {
- extern BlockRegistry blockRegistry;
- extern World world;
- extern Controller controller;
- extern Entity player;
- bool init();
- void tick();
- void renderWorld();
- void renderOverlay();
- void onEntityUpdate(EntityUpdatePacket& p);
- }
- #endif
|