Exemplo 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);
        }
Exemplo n.º 2
0
 public NetworkCombatLogListener(EyeServer network)
 {
     _network = network;
 }
Exemplo n.º 3
0
 public NetworkGameStateListener(EyeServer network)
 {
     _network = network;
 }