io.github.srs.model.entity.dynamicentity.action.Action
Action trait represents an action that can be performed on a dynamic entity.
Type parameters
-
F
-
the effect type of the action.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Runs the action using the provided ActionAlg.
Runs the action using the provided ActionAlg.
Type parameters
-
E
-
the type of the dynamic entity on which the action will be executed.
Value parameters
-
a
-
the ActionAlg to use for executing the action.
-
e
-
the dynamic entity on which the action will be executed.
Attributes
-
Returns
-
an effectful computation that results in the dynamic entity after the action is executed.