public void DeSpawnMe() { try { byte[] buff = Client.Packet.ObjectDeSpawn(UniqueID); lock (Helpers.Manager.clients) { for (int i = 0; i < Helpers.Manager.clients.Count; i++) { try { if (Spawned(Helpers.Manager.clients[i].Character.Information.UniqueID)) { Helpers.Manager.clients[i].client.Send(buff); } } catch (Exception ex) { Log.Exception(ex); } } } Spawn.Clear(); } catch (Exception ex) { Log.Exception(ex); } }
public void Clear() { CountDownTime.ResetClock(); _reactionTimes.Clear(); _streak = 0; _maxStreak = 0; _currentProgress = 0; _spawnSize = 1; _numCleared = 0; _spawner.Clear(); _scoreHandler.ClearAndUpdate(); }