Implementation of Component was needed in order to implement the add_moves method. It is a pretty simple implementation, we may want to add more attributes to Component in the future, if needed.
There was also a bit of refactoring to correctly type the attributes from #1 / #2 and make the LSP stop complaining
Implementation of Component was needed in order to implement the
add_moves
method. It is a pretty simple implementation, we may want to add more attributes toComponent
in the future, if needed.There was also a bit of refactoring to correctly type the attributes from #1 / #2 and make the LSP stop complaining
Closes #4 and #11