From 682091b4ba2fe9df1a6bb651585de4da167d4ece Mon Sep 17 00:00:00 2001 From: Marek Wolan Date: Tue, 19 Sep 2023 15:30:02 +0100 Subject: [PATCH] Remove redundant method --- src/primaite/simulator/core.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/primaite/simulator/core.py b/src/primaite/simulator/core.py index df9d17ea..ceba88c9 100644 --- a/src/primaite/simulator/core.py +++ b/src/primaite/simulator/core.py @@ -200,14 +200,6 @@ class SimComponent(BaseModel): } return state - def possible_actions(self) -> List[List[str]]: - """Enumerate all actions that this component can accept. - - :return: List of all action strings that can be passed to this component. - :rtype: List[Dict[str]] - """ - action_list = ActionManager # TODO: extract possible actions? how to do this neatly? - def apply_action(self, action: List[str], context: Dict = {}) -> None: """ Apply an action to a simulation component. Action data is passed in as a 'namespaced' list of strings.