public final class InterfaceListener extends Object implements org.bukkit.event.Listener
InventoryInterface
Constructor and Description |
---|
InterfaceListener()
Constructs the listener instance and registers it to Bukkit
|
Modifier and Type | Method and Description |
---|---|
void |
onClick(org.bukkit.event.inventory.InventoryClickEvent event)
Listens to inventory clicks, and conveys said information to an
appropriate
InventoryInterface |
void |
register(InventoryInterface ii)
Registers an
InventoryInterface to this listener |
public InterfaceListener()
public void onClick(org.bukkit.event.inventory.InventoryClickEvent event)
InventoryInterface
event
- The fired InventoryClickEvent
public void register(InventoryInterface ii)
InventoryInterface
to this listenerii
- The InventoryInterface
to registerCopyright © 2015. All rights reserved.