Overriding a function in an actor subclass

Category |  Applicable to |  Description


Category:

Top

C++


Applicable to:

Top

ObjecTime 4.4.1


Description:

Top

You must select `New Function' in the function list for the subclass, and then supply the same name and arguments to this new function.

Both the inherited and overriding function will appear in the function list. You may then use the SUPER macro to gain access, in the child class, to the parent's version of the function.


 

Copyright © 1999, ObjecTime Limited.