In some games there is a map composed of regions that has a complete random shape. (think about strategic games, like RISK or Making History if you have played this game)
When player right click the region where the unit should be moved to, any pixel in that region will make the unit move to the center of that region, although not necessarily the pixel clicked. So I am wondering, how do you detect click in a irregular shaped region in a map?
Thanks in advance!