Add test to new action functionliaty

This commit is contained in:
Marek Wolan
2023-09-19 16:11:42 +01:00
parent 682091b4ba
commit 860b3fb801
3 changed files with 61 additions and 4 deletions

View File

@@ -218,9 +218,9 @@ class SimComponent(BaseModel):
:param: context: Dict containing context for actions
:type context: Dict
"""
if self.action_manager is None:
if self._action_manager is None:
return
self.action_manager(action, context)
self._action_manager(action, context)
def apply_timestep(self, timestep: int) -> None:
"""