mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
expanded comment some more
This commit is contained in:
parent
7470a32d17
commit
d660ec8ab5
@ -35,9 +35,17 @@
|
|||||||
// Inheriting from this automatically provides support
|
// Inheriting from this automatically provides support
|
||||||
// for is_of_type() and is_exact_type().
|
// for is_of_type() and is_exact_type().
|
||||||
//
|
//
|
||||||
// Defining get_type() and force_init_type() are not
|
// All classes that inherit directly or indirectly from
|
||||||
// necessary if your class does not define any virtual
|
// TypedObject should redefine get_type() and
|
||||||
// functions.
|
// force_init_type(), as shown below. Some classes that
|
||||||
|
// do not inherit from TypedObject may still declare
|
||||||
|
// TypeHandles for themselves by defining methods called
|
||||||
|
// get_class_type() and init_type(). Classes such as
|
||||||
|
// these may serve as base classes, but the dynamic type
|
||||||
|
// identification system will be limited. Classes that
|
||||||
|
// do not inherit from TypedObject need not define the
|
||||||
|
// virtual functions get_type() and force_init_type()
|
||||||
|
// (or any other virtual functions).
|
||||||
//
|
//
|
||||||
// There is a specific layout for defining the
|
// There is a specific layout for defining the
|
||||||
// overrides from this class. Keeping the definitions
|
// overrides from this class. Keeping the definitions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user