Panda3D
|
00001 // Filename: typedSkel.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 "typedSkel.h" 00016 00017 TypeHandle TypedSkel::_type_handle; 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: TypedSkel::set_value_alt 00021 // Access: Public 00022 // Description: Stores an integer value. Exact same functionality 00023 // as set_value, except that this isn't an inline 00024 // function. 00025 //////////////////////////////////////////////////////////////////// 00026 void TypedSkel:: 00027 set_value_alt(int n) { 00028 _value = n; 00029 } 00030 00031 //////////////////////////////////////////////////////////////////// 00032 // Function: TypedSkel::get_value 00033 // Access: Public 00034 // Description: Retreives a value that was previously stored. 00035 // Exact same functionality as get_value, except 00036 // that this isn't an inline function. 00037 //////////////////////////////////////////////////////////////////// 00038 int TypedSkel:: 00039 get_value_alt() { 00040 return _value; 00041 }