mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-13 00:37:40 +00:00
12 lines
650 B
Java
12 lines
650 B
Java
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);
|
|
}
|