예제 #1
0
 internal void StartGame(UdpWrapper <GamePacket> connection)
 {
     if (_connection != null)
     {
         _connection.Dispose();
     }
     _connection = connection;
     _match      = new Match();
     _match.MatchFinishedEvent += OnMatchFinishedEvent;
 }
예제 #2
0
 public void Dispose()
 {
     UdpWrapper?.Dispose();
 }