I have three classes: CookedItem
: ConsomableItem
: Item
Item
implements this method:
protected void Initialize(string name,TypeItem type) {...}
ConsomableItem
implements this method:
protected void Initialize(float duration,string name,TypeItem type) {...}
Now here is my problem. The correct method to call for CookedItem
is ConsomableItem.Initialize()
.
Can I hide the method Item.Initialize()to only see the method
ConsomableItem.Initialize()`?
I can't use override
because the signatures are different.
Any suggestion?