X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FCoreListener.java;h=595d11ae6574f3ee78f622b8a884c9f244f18c6c;hb=c26c8d115cd895ac1c187552ac46350a501c250a;hp=ca99e879f9aeb9dc724e97cba05fbbd6855d5a2b;hpb=5b6767cdd9eece7d2a08f52016b3e35340d1f22f;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/core/CoreListener.java b/src/main/java/net/pterodactylus/sone/core/CoreListener.java index ca99e87..595d11a 100644 --- a/src/main/java/net/pterodactylus/sone/core/CoreListener.java +++ b/src/main/java/net/pterodactylus/sone/core/CoreListener.java @@ -32,6 +32,22 @@ import net.pterodactylus.sone.data.Sone; public interface CoreListener extends EventListener { /** + * Notifies a listener that a Sone is now being rescued. + * + * @param sone + * The Sone that is rescued + */ + public void rescuingSone(Sone sone); + + /** + * Notifies a listener that the Sone was rescued and can now be unlocked. + * + * @param sone + * The Sone that was rescued + */ + public void rescuedSone(Sone sone); + + /** * Notifies a listener that a new Sone has been discovered. * * @param sone