mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-25 22:14:53 +02:00
15 lines
265 B
Java
15 lines
265 B
Java
package net.minestom.server;
|
|
|
|
/**
|
|
* Represents an element which is ticked at a regular interval.
|
|
*/
|
|
public interface Tickable {
|
|
|
|
/**
|
|
* Ticks this element.
|
|
*
|
|
* @param time the time of the tick in milliseconds
|
|
*/
|
|
void tick(long time);
|
|
}
|