Make the object that trigger an action available.
[rhynodge.git] / src / main / java / net / pterodactylus / reactor / Action.java
index 5c6a13f..05b2c9e 100644 (file)
@@ -28,11 +28,9 @@ public interface Action {
        /**
         * Performs the action.
         *
-        * @param currentState
-        *            The current state of a system
-        * @param previousState
-        *            The previous state of the system
+        * @param trigger
+        *            The object that triggered the action
         */
-       void execute(State currentState, State previousState);
+       void execute(Object trigger);
 
 }