Skip to content

Revise unit factory #7

@mbe24

Description

@mbe24

Add some kind of register method in order to have all the units register to the factory.
In this way adding a new unit beomes as simple as implementing the unit, defining a unit id and registering this id to the factory within the class that implements the unit.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions