Panda3D
Public Member Functions | List of all members
BasicSkel Class Reference

This is the most basic of the skeleton classes. It stores an integer, and will return it on request. More...

Public Member Functions

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

Detailed Description

This is the most basic of the skeleton classes. It 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."

Member Function Documentation

◆ __init__()

__init__ ( )

◆ getValue()

int getValue ( )

Retreives a value that was previously stored.

◆ getValueAlt()

int getValueAlt ( )

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

◆ setValue()

setValue ( int  n)

Stores an integer value.

◆ setValueAlt()

setValueAlt ( int  n)

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