Table of Contents

 
GetScrollY
 

Purpose

Determines how much the map has been scrolled vertically

 

Protoype

int CTileMngr::GetScrollY ()
 

Description

This function returns the difference in pixels from the top of the map to the spot where the map viewport is currently located

 

Use

CTileMngr tile_mngr;
int i_scrolly = tile_mngr.GetScrollY();
 

Prev: GetScrollX