mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 15:08:35 +00:00
Added Region.shift
- Provided a default implementation using expand+contract in AbstractRegion - Overrid the implementation in the subtypes
This commit is contained in:
@ -88,6 +88,14 @@ public interface Region extends Iterable<BlockVector> {
|
||||
*/
|
||||
public void contract(Vector change) throws RegionOperationException;
|
||||
|
||||
/**
|
||||
* Shift the region.
|
||||
*
|
||||
* @param change
|
||||
* @throws RegionOperationException
|
||||
*/
|
||||
public void shift(Vector multiply) throws RegionOperationException;
|
||||
|
||||
/**
|
||||
* Returns true based on whether the region contains the point,
|
||||
*
|
||||
|
Reference in New Issue
Block a user