Esempio n. 1
0
        public EyeController(EyePlayerController playerController)
        {
            _playerController = playerController;

            _network = new EyeServer();

            _networkGameStateListener       = new NetworkGameStateListener(Network);
            _networkCombatLogListener       = new NetworkCombatLogListener(Network);
            _eyeStateListener               = new EyeStateListener(_networkGameStateListener);
            _eyeStateListener.DataReceived += (sender, entry) => _entry = entry;

            _stateEventManager = new EyeStateEventManager(_eyeStateListener, _networkCombatLogListener);
        }
Esempio n. 2
0
 public NetworkCombatLogListener(EyeServer network)
 {
     _network = network;
 }
Esempio n. 3
0
 public NetworkGameStateListener(EyeServer network)
 {
     _network = network;
 }