package me.bvn13.fsm; /** * Condition of transitions */ @FunctionalInterface public interface Condition { boolean check(T fsm, E event); }