Panda3D
 All Classes Functions Variables Enumerations
basicSkel.I
1 // Filename: basicSkel.I
2 // Created by: jyelon (31Jan07)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: BasicSkel::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE BasicSkel::
22 BasicSkel() {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: BasicSkel::Destructor
27 // Access: Public
28 // Description:
29 ////////////////////////////////////////////////////////////////////
30 INLINE BasicSkel::
31 ~BasicSkel() {
32 }
33 
34 ////////////////////////////////////////////////////////////////////
35 // Function: BasicSkel::set_value
36 // Access: Public
37 // Description: Stores an integer value.
38 ////////////////////////////////////////////////////////////////////
39 INLINE void BasicSkel::
40 set_value(int n) {
41  _value = n;
42 }
43 
44 ////////////////////////////////////////////////////////////////////
45 // Function: BasicSkel::get_value
46 // Access: Public
47 // Description: Retreives a value that was previously stored.
48 ////////////////////////////////////////////////////////////////////
49 INLINE int BasicSkel::
51  return _value;
52 }
void set_value(int n)
Stores an integer value.
Definition: basicSkel.I:40
int get_value()
Retreives a value that was previously stored.
Definition: basicSkel.I:50