Jakubok-dev / NationsMod

MIT License
0 stars 0 forks source link

Change the algorithm of land claiming #7

Open Jakubok-dev opened 1 year ago

Jakubok-dev commented 1 year ago

Current algorithm

Currently it registers the UUID of a claimer for every block in the game, which causes performance issues.

New algorithm

The new algorithm should create a polygon based on the border signs' locations and then tell, whether a position is inside the polygon or outside of it.

Requirements

In order to close the issue, following features must be rebuilt: