FOP-2425-Marathon/src/main/java/h01/template/TickBased.java
Oshgnacknak 81625e0c38 Squashed 'H01/' content from commit 8ca45da
git-subtree-dir: H01
git-subtree-split: 8ca45da38c7fc420f4ab2047a41aca0867bf26d3
2025-01-11 16:40:57 +01:00

15 lines
325 B
Java

package h01.template;
/**
* An interface that enables an object to be updated every n-th tick.
*/
public interface TickBased {
/**
* Returns the number of ticks between two updates.
*
* @return the number of ticks between two updates
*/
default int getUpdateDelay() {
return 1;
}
}