示例#1
0
 public PlayerModel GetPlayer()
 {
     if (occupyingShip != null)
     {
         if (occupyingShip.GetType() == typeof(PlayerModel))
         {
             return((PlayerModel)occupyingShip);
         }
     }
     return(null);
 }