♻️ Move output generation to state
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / State.java
index d549d69..bda5bf5 100644 (file)
 
 package net.pterodactylus.rhynodge;
 
+import javax.annotation.Nonnull;
+
+import net.pterodactylus.rhynodge.output.Output;
+
 /**
  * Defines the current state of a system.
  *
@@ -76,4 +80,7 @@ public interface State {
         */
        Throwable exception();
 
+       @Nonnull
+       Output output(Reaction reaction);
+
 }