Okay, so I’m using the Savable interface to save/load objects with the implemented methods. However, what do I do if I have a child class which shares the same routine for saving and loadng as the parent class, but adds a few extra details? The parents methods are “closed”, I cannot get the same capsule that was used by the parent, so calling like super.save(exporter)
is useless because I won’t be able to add to the capsule… any ideas how I do this?
One way would be for the method to return the capsule, but it is void
…