Closed TinaTiel closed 3 years ago
Could just use class type, however internally the class may change in later refactors -- so abstracting it out with an enum switch case would be more resilient to modification later, even if it means doing a type check before casting.
ActionServiceFactory will need to return a consistent type. There must be type checking in the Action since this is dynamic / known only at runtime