void setBorderX1(unsigned int x)
|
x - Offset in pixels from the top left corner to start drawing the map world
|
Sets the starting, top left X coordinate border amount. This is useful
for windowing your maps to allow room for status sections, text, etc.
Example: Specifying a value of 10 here would make TileLib start
drawing the map at an offset of 10 pixels from the top left X coodinate
of the screen.
void setBorderY1(unsigned int y)
|
y - Offset in pixels from the top left corner to start drawing the map world
|
Sets the starting, top left Y coordinate border amount. This is useful
for windowing your maps to allow room for status sections, text, etc.
Example: Specifying a value of 10 here would make TileLib start
drawing the map at an offset of 10 pixels from the top left Y coodinate
of the screen.
void setBorderX2(unsigned int x)
|
x - Offset in pixels from the bottom right corner to start drawing the map world
|
Sets the starting, bottom right X coordinate border amount. This is useful
for windowing your maps to allow room for status sections, text, etc.
void setBorderY2(unsigned int y)
|
y - Offset in pixels from the bottom right corner to start drawing the map world
|
Sets the starting, bottom right Y coordinate border amount. This is useful
for windowing your maps to allow room for status sections, text, etc.
unsigned int getBorderX1(void)
|
returns - current X1 border coordinate setting
|
unsigned int getBorderY1(void)
|
returns - current Y1 border coordinate setting
|
unsigned int getBorderX2(void)
|
returns - current X2 border coordinate setting
|
unsigned int getBorderY2(void)
|
returns - current Y2 border coordinate setting
|