Exemple #1
0
 public void Reset()
 {
     Morale  = new uint[2];
     Gem     = new uint[2];
     Crystal = new uint[2];
     Grail   = new uint[2];
     PlayerInfos.Clear();
     PlayerIdxOrder.Clear();
     Agent      = new PlayerAgent(0);
     MainPlayer = null;
     RoomID     = null;
     IsStarted  = false;
 }
 public void Reset()
 {
     Morale = new uint[2] {
         15, 15
     };
     Gem     = new uint[2];
     Crystal = new uint[2];
     Grail   = new uint[2];
     PlayerInfos.Clear();
     PlayerIdxOrder.Clear();
     Agent         = new PlayerAgent(0);
     MainPlayer    = null;
     RoomID        = null;
     PlayerID      = null;
     IsStarted     = false;
     StartPlayerID = 0;
     NowPlayerID   = 0;
     DisConnectedPlayer.Clear();
 }