Skeleton object that inherits from TypedObject. Stores an integer, and will return it on request.
More...
|
| __init__ () |
|
int | getValue () |
| Retreives a value that was previously stored. More...
|
|
int | getValueAlt () |
| Retreives a value that was previously stored. Exact same functionality as get_value, except that this isn't an inline function. More...
|
|
| setValue (int n) |
| Stores an integer value. More...
|
|
| setValueAlt (int n) |
| Stores an integer value. Exact same functionality as set_value, except that this isn't an inline function. More...
|
|
Public Member Functions inherited from TypedObject |
TypeHandle | getType () |
| Derived classes should override this function to return get_class_type(). More...
|
|
int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). More...
|
|
bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly. More...
|
|
bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type. More...
|
|
Skeleton object that inherits from TypedObject. Stores an integer, and will return it on request.
The skeleton classes are intended to help you learn how to add C++ classes to panda. See also the manual, "Adding C++ Classes to Panda."