PoweredByApartium / cocoa-beans

General purpose library for Java & Spigot
MIT License
4 stars 0 forks source link

Region #76

Closed ikfir closed 3 weeks ago

ikfir commented 1 month ago

Region will use Position and it will be simple interface

some implementation will be SphereRegion & BoxRegion

public interface Region {

  boolean contains(Position pos);
  double distance(Position pos);

}