Skip to content

Commit

Permalink
Clarify methods in TeleporterAgent.
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
  • Loading branch information
gabizou committed Sep 1, 2015
1 parent e813445 commit ad15098
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/java/org/spongepowered/api/world/TeleporterAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@

public interface TeleporterAgent {

int getSearchRadius();
int getTeleporterSearchRadius();

TeleporterAgent setSearchRadius(int radius);
TeleporterAgent setTeleporterSearchRadius(int radius);

int getCreationRadius();
int getTeleporterCreationRadius();

TeleporterAgent setCreationRadius(int radius);
TeleporterAgent setTeleporterCreationRadius(int radius);

boolean canCreateTeleporter();

TeleporterAgent setCanCreateTeleporter();

Optional<Location<World>> findOrCreate(Location<World> targetLocation);
Optional<Location<World>> findOrCreateTeleporter(Location<World> targetLocation);

Optional<Location<World>> find(Location<World> targetLocation);
Optional<Location<World>> findTeleporter(Location<World> targetLocation);

Optional<Location<World>> create(Location<World> targetLocation);
Optional<Location<World>> createTeleporter(Location<World> targetLocation);

}

0 comments on commit ad15098

Please sign in to comment.