예제 #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);
        }
예제 #2
0
 public NetworkCombatLogListener(EyeServer network)
 {
     _network = network;
 }
예제 #3
0
 public NetworkGameStateListener(EyeServer network)
 {
     _network = network;
 }