Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Occupied Plots map #1

Open
Vawandinhax opened this issue Jul 19, 2020 · 0 comments
Open

Create Occupied Plots map #1

Vawandinhax opened this issue Jul 19, 2020 · 0 comments

Comments

@Vawandinhax
Copy link
Owner

Create an array with size equal to the map width * heigth in plots.
The array will be filled with the following logic:

  • If there is nothing in the plot, and the plot is reachable: 0
  • If there is a friendly unit in the plot: 1
  • If the plot is unreachable: -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant