src/proto2/NetworkClient.hh
changeset 26 5685602aeb9c
parent 25 af75a1894a32
child 35 e21cfda0edde
child 54 b8b043ba0abd
equal deleted inserted replaced
25:af75a1894a32 26:5685602aeb9c
     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);