change name of add method as it makes sense

This commit is contained in:
tueem 2024-10-14 00:54:29 +02:00
parent 7901e8c380
commit f011ec513a
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

@ -17,7 +17,7 @@ public class InteractionRegistry {
wrapper.subscribeInteractions(this::handle);
}
public void registerInteractions(InteractionHandler interactionHandler) {
public void addInteractions(InteractionHandler interactionHandler) {
for (Method method : interactionHandler.getClass().getMethods()) {
interactionMethods.add(InteractionMethod.create(method, interactionHandler, wrapper));
}