示例#1
0
 public void MovePlayer(int direction)
 {
     if (Player.Move(direction))
     {
         if (Sleeper != null)
         {
             Sleeper.SleeperAction();
         }
     }
 }