Make some listeners Functional Interfaces.

This commit is contained in:
Major- committed 2014-07-04 14:31:21 +01:00
1 parent 446caaaf2a
commit cea982a424
4 files changed
+12 -5

No files matched your search

+2 -1
View File
@@ -7,7 +7,8 @@ import org.apollo.game.model.entity.Player;
*
* @author Major
*/
public abstract class LoginListener {
@FunctionalInterface
public interface LoginListener {
/**
* Executes the action for this listener.
@@ -7,7 +7,8 @@ import org.apollo.game.model.entity.Player;
*
* @author Major
*/
public abstract class LogoutListener {
@FunctionalInterface
public interface LogoutListener {
/**
* Executes the action for this listener.
@@ -7,7 +7,8 @@ import org.apollo.game.model.entity.Entity;
*
* @author Major
*/
public abstract class SectorListener {
@FunctionalInterface
public interface SectorListener {
/**
* Executes the action for this listener.