Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2009, 6:02:25 PM (15 years ago)
Author:
scheusso
Message:

merged netp5 back to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/Client.h

    r3084 r3214  
    4545
    4646#include <string>
    47 
    48 #include "Host.h"
    49 #include "packet/Chat.h"
    5047#include "ClientConnection.h"
    5148#include "GamestateClient.h"
    52 
     49#include "Host.h"
    5350
    5451namespace orxonox
     
    6158  *
    6259  */
    63   class _NetworkExport Client : public Host{
     60  class _NetworkExport Client : public Host, public ClientConnection{
    6461  public:
    6562    Client();
    6663    Client(const std::string& address, int port);
    67     Client(const char *address, int port);
    6864    ~Client();
    6965
     
    7470    virtual bool chat(const std::string& message);
    7571    virtual bool broadcast(const std::string& message) { return false; }
    76     //bool sendChat(packet::Chat *chat);
    7772
    7873    void update(const Clock& time);
     
    8277    virtual bool isServer_(){return false;}
    8378
    84     ClientConnection client_connection;
    8579    GamestateClient gamestate;
    86     bool isConnected;
    8780    bool isSynched_;
    8881
Note: See TracChangeset for help on using the changeset viewer.