private static void TryJumpInternal(int tile)
 {
     if (Find.World != null && tile >= 0)
     {
         CameraJumper.TryShowWorld();
         Find.WorldCameraDriver.JumpTo(tile);
     }
 }
 private static void TryJumpInternal(WorldObject worldObject)
 {
     if (Find.World != null && worldObject.Tile >= 0)
     {
         CameraJumper.TryShowWorld();
         Find.WorldCameraDriver.JumpTo(worldObject.Tile);
     }
 }
 private static void TrySelectInternal(WorldObject worldObject)
 {
     if (Find.World != null && worldObject.Spawned && worldObject.SelectableNow)
     {
         CameraJumper.TryShowWorld();
         Find.WorldSelector.ClearSelection();
         Find.WorldSelector.Select(worldObject, true);
     }
 }
Example #4
0
 private static void TryJumpInternal(int tile)
 {
     if (Find.World == null)
     {
         return;
     }
     if (tile < 0)
     {
         return;
     }
     CameraJumper.TryShowWorld();
     Find.WorldCameraDriver.JumpTo(tile);
 }
Example #5
0
 private static void TryJumpInternal(WorldObject worldObject)
 {
     if (Find.World == null)
     {
         return;
     }
     if (worldObject.Tile < 0)
     {
         return;
     }
     CameraJumper.TryShowWorld();
     Find.WorldCameraDriver.JumpTo(worldObject.Tile);
 }