equal
deleted
inserted
replaced
3 |
3 |
4 #include "Network.hh" |
4 #include "Network.hh" |
5 #include "GameState.hh" |
5 #include "GameState.hh" |
6 |
6 |
7 // forward-declare |
7 // forward-declare |
|
8 class NetworkClientLocalPlayer; |
8 class NetworkClientRemotePlayer; |
9 class NetworkClientRemotePlayer; |
9 |
10 |
10 class NetworkClient : public NetworkCore { |
11 class NetworkClient : public NetworkCore { |
|
12 friend class NetworkClientLocalPlayer; |
|
13 friend class NetworkClientRemotePlayer; |
|
14 |
11 private: |
15 private: |
12 CL_NetComputer server; |
16 CL_NetComputer server; |
13 |
17 |
14 public: |
18 public: |
15 NetworkClient (GameState &state, const CL_IPAddress &connect_to); |
19 NetworkClient (GameState &state, const CL_IPAddress &connect_to); |