Relative Content

Tag Archive for javamathrandomgeometryarea

How to get a random point on the edge of an area?

I have a city-building game and have finished working on the player, who manually selects where to place something. I have not finished to AI, which is supposed to generate a point on the edge of or within it’s territory (an Area object).