![]() |
• System Utilities | ||||||
|
API Links
Developer Links
|
class ConstructableDefined in:
The C4Construction.hConstructable class template is the base class for class types that can be extended by application-defined subclasses.
Definition
Member Functions
Template Parameters
Constructor
Description
The Constructable class template appears as a base class for types of objects that can have custom subclasses defined by an application. So that the engine can construct these custom subclasses when necessary (e.g., when loading a world), an application installs a special constructor object by calling the Constructable::InstallConstructor function. This object has a member function that is responsible for returning a pointer to a newly constructed instance of the subclass of a given type.
See Also
|