forked from panda3d/panda3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasicSkel.h
More file actions
45 lines (37 loc) · 1.03 KB
/
basicSkel.h
File metadata and controls
45 lines (37 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file basicSkel.h
* @author jyelon
* @date 2007-01-31
*/
#ifndef BASICSKEL_H
#define BASICSKEL_H
#include "pandabase.h"
/**
* 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."
*/
class EXPCL_PANDASKEL BasicSkel {
PUBLISHED:
INLINE BasicSkel();
INLINE ~BasicSkel();
// These inline functions allow you to get and set _value.
INLINE void set_value(int n);
INLINE int get_value();
// These do the same thing as the functions above.
void set_value_alt(int n);
int get_value_alt();
private:
int _value;
};
#include "basicSkel.I"
#endif