Table of Contents

 
PositionMap
 

Purpose

Sets a new map location using the exact coordinates given

 

Protoype

void CTileMngr::PositionMap (int i_newx, int i_newy)
 

Parameters

newx the new x location
newy the new y location
 

Description

This function moves the entire map window to the new location specified. So if you pass in values of 50, 50 for a map located at (143, 253), the new map location would be (50, 50).

 

Use

CTileMngr tile_mngr;
tile_mngr.PositionMap(50, 50);
 

Prev: PlayAnimation