GSViewport Class Reference

Class that manipultes the users viewport. More...


Static Public Member Functions

static void ScrollTo (TileIndex tile)
 Scroll the viewport to the given tile, where the tile will be in the center of the screen.


Detailed Description

Class that manipultes the users viewport.

Member Function Documentation

static void GSViewport::ScrollTo ( TileIndex  tile  )  [static]

Scroll the viewport to the given tile, where the tile will be in the center of the screen.

Parameters:
tile The tile to put in the center of the screen.
Precondition:
!GSGameIsMultiplayer().

GSMap::IsValidTile(tile).


Generated on Wed Oct 31 22:26:14 2012 for OpenTTD Game API by  doxygen 1.5.6