Panda3D

basicSkel.cxx

00001 // Filename: basicSkel.cxx
00002 // Created by:  jyelon (31Jan07)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #include "basicSkel.h"
00016 
00017 ////////////////////////////////////////////////////////////////////
00018 //     Function: BasicSkel::set_value_alt
00019 //       Access: Public
00020 //  Description: Stores an integer value.  Exact same functionality
00021 //               as set_value, except that this isn't an inline
00022 //               function.
00023 ////////////////////////////////////////////////////////////////////
00024 void BasicSkel::
00025 set_value_alt(int n) {
00026   _value = n;
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     Function: BasicSkel::get_value
00031 //       Access: Public
00032 //  Description: Retreives a value that was previously stored.
00033 //               Exact same functionality as get_value, except
00034 //               that this isn't an inline function.
00035 ////////////////////////////////////////////////////////////////////
00036 int BasicSkel::
00037 get_value_alt() {
00038   return _value;
00039 }
 All Classes Functions Variables Enumerations