package am2.api.flickers; public interface IFlickerRegistry { /** * Attempts to register a flicker operator into the flicker network * @param singleton The instance of the class that should be called upon to perform the operations when loaded into a flicker block * @param mask The bit mask representing the flicker combination. These are ORed affinity masks. @see am2.api.spell.enums.Affinity.getMask for specific mask flags (flickers represent an affinity) * @return True if registered, false if the mask is already in use. */ public boolean registerFlickerOperator(IFlickerFunctionality singleton, int mask); }