
[Question] Why IEnergyHandler.getEnergyStorage() returns a class (EnergyStorage) instead of an interface (IEnergyStorage) ?
Sejoslaw opened this issue ยท 1 comments
Hi.
First of all let me say that I like this idea about the new power API for new MC :)
According to my question, wouldn't it be more flexible to allow people for their own implementations of IEnergyStorage ?
My question is really about this line of code, shoudn't there be the IEnergyStorage ?
Best regards
Sejoslaw