Exemplo n.º 1
0
 private static void TryJumpInternal(int tile)
 {
     if (Find.World != null && tile >= 0)
     {
         CameraJumper.TryShowWorld();
         Find.WorldCameraDriver.JumpTo(tile);
     }
 }
Exemplo n.º 2
0
 private static void TryJumpInternal(WorldObject worldObject)
 {
     if (Find.World != null && worldObject.Tile >= 0)
     {
         CameraJumper.TryShowWorld();
         Find.WorldCameraDriver.JumpTo(worldObject.Tile);
     }
 }
Exemplo n.º 3
0
 private static void TrySelectInternal(WorldObject worldObject)
 {
     if (Find.World != null && worldObject.Spawned && worldObject.SelectableNow)
     {
         CameraJumper.TryShowWorld();
         Find.WorldSelector.ClearSelection();
         Find.WorldSelector.Select(worldObject, true);
     }
 }
Exemplo n.º 4
0
 private static void TryJumpInternal(int tile)
 {
     if (Find.World == null)
     {
         return;
     }
     if (tile < 0)
     {
         return;
     }
     CameraJumper.TryShowWorld();
     Find.WorldCameraDriver.JumpTo(tile);
 }
Exemplo n.º 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);
 }