TypedSkel

class TypedSkel

Bases: TypedObject

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.”

Inheritance diagram

Inheritance diagram of TypedSkel

TypedSkel(void)
static TypeHandle get_class_type(void)
int get_value(void) const

Retreives a value that was previously stored.

int get_value_alt(void) const

Retreives a value that was previously stored. Exact same functionality as get_value, except that this isn’t an inline function.

void set_value(int n)

These inline functions allow you to get and set _value.

Stores an integer value.

void set_value_alt(int n)

These do the same thing as the functions above.

Stores an integer value. Exact same functionality as set_value, except that this isn’t an inline function.