Hacknet-Pathfinder
Hacknet-Pathfinder copied to clipboard
Rewrite ActionsLoader to use the executor system
Currently, ActionsLoader is inconsistent with the rest of the loader replacements. It uses a switch statement to check an element's type instead of the much more extensible IExecutor
, which is used by all of the other loaders.
What should be done:
- Add executor interfaces to
ActionsLoader
. - Rewrite
LoadActionSets
andReadAction
to use said executors. - Optionally rename
ReadAction
toLoadAction
for consistency with other method names.