#ifndef LOCALCLIENT_H
#define LOCALCLIENT_H

#include "abstractclient.h"

class LocalServerInterface;

class LocalClient : public AbstractClient
{
    Q_OBJECT
private:
    LocalServerInterface *lsi;

public:
    LocalClient(LocalServerInterface *_lsi,
                const QString &_playerName,
                const QString &_clientId,
                QObject *parent = nullptr);
    ~LocalClient();

    void sendCommandContainer(const CommandContainer &cont);
private slots:
    void itemFromServer(const ServerMessage &item);
};

#endif
