public virtual void StepOn()
 {
     System.Diagnostics.Debug.WriteLine("玩家" + (isEnemy ? 1 : 2) + "回合开始");
     statue = PlayerStatue.Playing;
 }
 public virtual void OverPlay()
 {
     System.Diagnostics.Debug.WriteLine("玩家" + (isEnemy ? 1 : 2) + "游戏结束");
     statue = PlayerStatue.Unknown;
     if(mainThread != null && mainThread.ThreadState == ThreadState.Running)
         mainThread.Join();
 }
 public virtual bool StartPlay()
 {
     System.Diagnostics.Debug.WriteLine("玩家" + (isEnemy ? 1 : 2) + "准备就绪");
     statue = PlayerStatue.Ready;
     mainThread = new Thread(ThreadFunc);
     mainThread.Start();
     return true;
 }
 public IGameRiverPlayer(GameRiver parent, string name, bool isEnemy = false)
 {
     this.parent = parent;
     this.isEnemy = isEnemy;
     statue = PlayerStatue.Unknown;
     this.name = name;
 }