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

This is the most basic of the skeleton classes. More...

#include "basicSkel.h"

Public Member Functions

int get_value ()
 Retreives a value that was previously stored. More...
 
int get_value_alt ()
 Retreives a value that was previously stored. More...
 
void set_value (int n)
 Stores an integer value. More...
 
void set_value_alt (int n)
 Stores an integer value. 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."

Definition at line 29 of file basicSkel.h.

Member Function Documentation

◆ get_value()

int BasicSkel::get_value ( )
inline

Retreives a value that was previously stored.

Definition at line 50 of file basicSkel.I.

Referenced by set_value().

◆ get_value_alt()

int BasicSkel::get_value_alt ( )

Retreives a value that was previously stored.

Exact same functionality as get_value, except that this isn't an inline function.

Definition at line 37 of file basicSkel.cxx.

Referenced by set_value_alt().

◆ set_value()

void BasicSkel::set_value ( int  n)
inline

Stores an integer value.

Definition at line 40 of file basicSkel.I.

References get_value().

◆ set_value_alt()

void BasicSkel::set_value_alt ( int  n)

Stores an integer value.

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

Definition at line 25 of file basicSkel.cxx.

References get_value_alt().


The documentation for this class was generated from the following files: