2022-07-07 02:15:12 +03:00
|
|
|
package me.bvn13.fsm;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* State handler
|
2022-07-07 23:30:46 +03:00
|
|
|
* @param <T> class inherited from {@link Fsm}
|
2022-07-07 02:15:12 +03:00
|
|
|
*/
|
|
|
|
@FunctionalInterface
|
|
|
|
public interface StateHandler<T extends Fsm> {
|
|
|
|
|
2022-07-11 15:49:55 +03:00
|
|
|
void handle(T fsm);
|
2022-07-07 02:15:12 +03:00
|
|
|
|
|
|
|
}
|