changeset 21 | 32c6cc55256a |
parent 5 | 617813994ab1 |
child 22 | b70d30e1b0fe |
20:f6dc5967c49c | 21:32c6cc55256a |
---|---|
1 #ifndef NETWORKCLIENT_HH |
1 #ifndef NETWORKCLIENT_HH |
2 #define NETWORKCLIENT_HH |
2 #define NETWORKCLIENT_HH |
3 |
3 |
4 class NetworkClient { |
4 #include "Network.hh" |
5 #include "GameState.hh" |
|
6 |
|
7 class NetworkClient : public NetworkCore { |
|
5 private: |
8 private: |
6 GameState *state; |
9 CL_NetComputer server; |
7 |
10 |
8 public: |
11 public: |
9 NetworkClient (GameState *state); |
12 NetworkClient (GameState &state, const CL_IPAddress &connect_to); |
10 }; |
13 }; |
11 |
14 |
12 #endif |
15 #endif |