Table of Contents | ||||
|
||||
MapOver | ||||
Purpose Determines whether the mouse is over the map or not |
||||
Protoype bool CTileMngr::MapOver (int i_mx, int i_my) |
||||
Parameters
|
||||
Description This function takes the current mouse coordinates and determines whether or not the mouse is currently over the map. If it is, the function will return TRUE, otherwise it will return FALSE. |
||||
Use CTileMngr tile_mngr; if (tile_mngr.MapOver(mouse_x, mouse_y)) // mouse cursor is over map |
||||
|
||||
|