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