Class TriggerManager
java.lang.Object
rocks.gravili.notquests.spigot.managers.registering.TriggerManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTrigger
(Trigger trigger, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) getTriggerClass
(String type) final Collection<String>
final Collection<Class<? extends Trigger>>
final String
getTriggerType
(Class<? extends Trigger> trigger) void
void
registerTrigger
(String identifier, Class<? extends Trigger> trigger)
-
Constructor Details
-
TriggerManager
-
-
Method Details
-
registerDefaultTriggers
public void registerDefaultTriggers() -
registerTrigger
-
getTriggerClass
-
getTriggerType
-
getTriggersAndIdentifiers
-
getTriggers
-
getTriggerIdentifiers
-
addTrigger
public void addTrigger(Trigger trigger, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context)
-