public interface MapDisplayProvider
Frame
to MapDisplay
Modifier and Type | Method and Description |
---|---|
Frame |
getSource()
Get a
Frame from this provider at any time |
void |
interactAt(org.bukkit.entity.Entity entity,
DisplayInteract action,
int x,
int y)
Interaction with an entity on the board
|
void |
provideFor(MapDisplay display)
Start providing frames for the given display
|
void |
stopProviding()
Terminate this MapDisplayProvider and stop providing frames for any display
|
Frame getSource()
Frame
from this provider at any timevoid interactAt(org.bukkit.entity.Entity entity, DisplayInteract action, int x, int y)
entity
- Either a player or a projectileaction
- Will only be DisplayInteract.PROJECTILE
if entity is a projectilex
- The X relative to the top left cornery
- The Y relative to the top left cornervoid provideFor(MapDisplay display)
display
- void stopProviding()