2015-08-10 10:37:44 +02:00
|
|
|
package ellpeck.actuallyadditions.tile;
|
|
|
|
|
|
|
|
import ellpeck.actuallyadditions.util.WorldPos;
|
|
|
|
|
|
|
|
public interface IPhantomTile{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return If the Phantom Tile is currently bound to anything
|
|
|
|
*/
|
|
|
|
boolean hasBoundPosition();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return If the Phantom Tile's bound position is in range
|
|
|
|
*/
|
|
|
|
boolean isBoundThingInRange();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return The position this tile is bound to
|
|
|
|
*/
|
|
|
|
WorldPos getBoundPosition();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return The ID of the GUI it opens, -1 if none
|
|
|
|
*/
|
|
|
|
int getGuiID();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return The range the tile currently has
|
|
|
|
*/
|
|
|
|
int getRange();
|
2015-08-22 19:47:20 +02:00
|
|
|
|
|
|
|
void setBoundPosition(WorldPos pos);
|
2015-08-10 10:37:44 +02:00
|
|
|
}
|