1234567891011121314151617181920212223 |
- #ifndef GAMESERVER_H
- #define GAMESERVER_H
- #include "common/world/World.h"
- #include "server/entities/ServerPlayer.h"
- #include "utils/Clock.h"
- namespace Game {
- extern Clock ticksPerSecond;
- extern BlockRegistry blocks;
- void stop();
- bool isRunning();
- void testWorld();
- World& getTestWorld();
- void tick();
- void addPlayer(ServerPlayer& p);
- void removePlayer(ServerPlayer& p);
- }
- #endif
|