I'm trying to figure out how to overide a virtual function with a different signature. A function initialize may need to be initialized a different a different way per object (I know this isn't a perfectly abstract interface) but I dont want to define a ton of virtual Init functions in the abstract class and redefine them empty in each inheriting class. Any way I can achieve this?
Code:class AbstractInterface{ public: AbstractInterface(); ~AbstractInterface(); public: virtual void Init(); }; class AIobject : public AbstractInterface { public: void Init(bool small); }; class AIobject2 : public AbstractInterface { public: void Init(int size); };