Exemplo n.º 1
0
 internal void Destroy()
 {
     Array.Clear(_gates, 0, _gates.Length);
     _gates = null;
     _room  = null;
     _balls.Destroy();
     _balls = null;
 }
Exemplo n.º 2
0
 internal void Destroy()
 {
     Array.Clear(gates, 0, gates.Length);
     gates = null;
     room  = null;
     balls.Destroy();
     balls = null;
 }
Exemplo n.º 3
0
 internal void Destroy()
 {
     room = null;
     usersByUserID.Clear();
     usersByUserID = null;
     OnUserEnter   = null;
     _unitList.Destroy();
     _unitList = null;
 }
Exemplo n.º 4
0
 internal void Destroy()
 {
     room = null;
     usersByUsername.Clear();
     usersByUsername = null;
     usersByUserID.Clear();
     usersByUserID = null;
     OnUserEnter   = null;
     pets.Clear();
     pets = null;
     userlist.Destroy();
     userlist = null;
 }
Exemplo n.º 5
0
 /// <summary>
 ///     Destroys this instance.
 /// </summary>
 internal void Destroy()
 {
     if (_banzaiTeleports != null)
     {
         _banzaiTeleports.Destroy();
     }
     if (_banzaiPyramids != null)
     {
         _banzaiPyramids.Clear();
     }
     _banzaiPyramids  = null;
     _banzaiTeleports = null;
     _room            = null;
 }
Exemplo n.º 6
0
 internal void Destroy()
 {
     if (banzaiTeleports != null)
     {
         banzaiTeleports.Destroy();
     }
     if (banzaiPyramids != null)
     {
         banzaiPyramids.Clear();
     }
     banzaiPyramids  = null;
     banzaiTeleports = null;
     room            = null;
     rnd             = null;
 }
Exemplo n.º 7
0
 internal void Destroy()
 {
     Array.Clear(TeamPoints, 0, TeamPoints.Length);
     _redTeamItems.Destroy();
     _blueTeamItems.Destroy();
     _greenTeamItems.Destroy();
     _yellowTeamItems.Destroy();
     TeamPoints       = null;
     OnScoreChanged   = null;
     OnGameStart      = null;
     OnGameEnd        = null;
     _redTeamItems    = null;
     _blueTeamItems   = null;
     _greenTeamItems  = null;
     _yellowTeamItems = null;
     _room            = null;
 }