src/Network/Client.hh
changeset 381 9b35bc329d23
parent 332 78657bf06302
child 400 d64bf28c4340
equal deleted inserted replaced
380:d193dd1d8a7e 381:9b35bc329d23
    97          */
    97          */
    98         NetworkClientController controller;
    98         NetworkClientController controller;
    99 
    99 
   100     public:
   100     public:
   101         /**
   101         /**
   102          * Create a NetworkClient with the given GameState, connecting a server on the given NetworkAddress
   102          * Create a NetworkClient with the given GameState, connecting a server on the given NetworkEndpoint
   103          *
   103          *
   104          * @param engine the Engine we're running as
   104          * @param engine the Engine we're running as
   105          * @param state the GameState to use
   105          * @param state the GameState to use
   106          * @param connect_to the address to connect to
   106          * @param connect_to the address to connect to
   107          */
   107          */
   108         NetworkClient (Engine &engine, GameState &state, const NetworkAddress &connect_to);
   108         NetworkClient (Engine &engine, GameState &state, const NetworkEndpoint &connect_to);
   109     
   109     
   110     protected:
   110     protected:
   111         /**
   111         /**
   112          * We have disconnected from the server
   112          * We have disconnected from the server
   113          */
   113          */