This repository has been archived on 2021-02-18. You can view files and clone it, but cannot push or open issues or pull requests.
chess/src/main/java/dev/kske/chess/event/Event.java

19 lines
388 B
Java
Raw Normal View History

2019-08-07 18:54:00 +02:00
package dev.kske.chess.event;
/**
* Project: <strong>Chess</strong><br>
* File: <strong>Event.java</strong><br>
* Created: <strong>7 Aug 2019</strong><br>
2020-01-19 22:12:33 +01:00
*
* @since Chess v0.4-alpha
* @author Kai S. K. Engelbart
2020-01-19 22:12:33 +01:00
* @param <T> the type of the event's value
2019-08-07 18:54:00 +02:00
*/
public interface Event<T> {
/**
* @return The data associated with the event
*/
T getData();
}