Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/21/2022 in all areas

  1. I updated the code to include an "inclusive" mode. By default, and if you were to manually create the Area object as you normally would, the northern and eastern boundaries are not included. This is an implementation decision on Java's part in how they handle shapes, and is thus reflected in the way EpicBot's Area class works. Since I found this unintuitive, I added the option to "include" the boundaries. To make this work, when inclusive mode is enabled, the set of Tiles output is NOT identical to the set of Tiles selected; rather I generated a new set of Tiles that build an Area that includes the selected Tiles. I feel this option is more intuitive, and allows you to define Areas more predictably. Feedback is appreciated!
    1 point
×
×
  • Create New...