public void SocketClosed() { Definer.DoCollection(); BasicCollection(); //change to login panel StageManager.Instance.ChangeState(GameStateType.LoginState); }
public void TimeOut() { Definer.DoCollection(); BasicCollection(); // try to reconnect StageManager.Instance.ChangeState(GameStateType.ReConnectState); AudioPlayer.Instance.Destructor(); }