public ConnectedHost(ConnectionManager manager) { logger = manager.Logg; this.connectionManager = manager; this.Dispatcher = new Dispatcher.Dispatcher(this); connectionManager.MessageReceived += connectionManager_MessageReceived; Bot = new BotControler(this, manager.Logg); Trajet = new TrajetControler(this); account = new Model.Authentification.AccountInformationsModel(this); }
public Player(IntPtr pokerHandle, int id) { _eye = new Eye(pokerHandle); _control = new BotControler(pokerHandle); _id = id; }