Method | Description | |
---|---|---|
CalculateCoordinateFromPixelPosition ( Vector2 pixelPosition ) : Vector2 | ||
CalculateDisplayCoordinateFromMapCoordinate ( Vector2 mapCoordinate ) : Vector2 | ||
CalculateMapCoordinateFromDisplayCoordinate ( Vector2 displayCoordinate ) : Vector2 | ||
CalculatePixelPosition ( Vector2 displayCoordinate ) : Vector2 | ||
Display ( |
||
Update ( |
Method | Description | |
---|---|---|
UpdateMapCoordinateOffset ( ) : void | ||
UpdateScale ( |
public CalculateCoordinateFromPixelPosition ( Vector2 pixelPosition ) : Vector2 | ||
pixelPosition | Vector2 | |
return | Vector2 |
public CalculateDisplayCoordinateFromMapCoordinate ( Vector2 mapCoordinate ) : Vector2 | ||
mapCoordinate | Vector2 | |
return | Vector2 |
public CalculateMapCoordinateFromDisplayCoordinate ( Vector2 displayCoordinate ) : Vector2 | ||
displayCoordinate | Vector2 | |
return | Vector2 |
public CalculatePixelPosition ( Vector2 displayCoordinate ) : Vector2 | ||
displayCoordinate | Vector2 | |
return | Vector2 |
public Display ( |
||
game | ||
return | System |
public Update ( |
||
gameTime | ||
return | void |