public Server(string ip, int port, IDatabase database) { _ip = ip; _port = port; _database = database; Lobbies = new List <Lobby>(); _proccessor = new CommandProccessor(); }
public Lobby(Socket socket, User user, CommandProccessor proccessor) : base(socket) { Socket = socket; User = user; _proccessor = proccessor; }