blob: 61a4d0eeda20846481293c2cf28056237770df56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include "StarPlayer.hpp"
#include "StarRoot.hpp"
#include "StarUniverseClient.hpp"
#include "StarUniverseServer.hpp"
namespace Star {
class TestUniverse {
public:
TestUniverse(Vec2U clientWindowSize);
~TestUniverse();
void warpPlayer(WorldId worldId);
WorldId currentPlayerWorld() const;
void update(unsigned times = 1);
List<Drawable> currentClientDrawables();
private:
Vec2U m_clientWindowSize;
String m_storagePath;
UniverseServerPtr m_server;
UniverseClientPtr m_client;
PlayerPtr m_mainPlayer;
};
}
|