00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 INLINE SelectiveChildNode::
00022 SelectiveChildNode(const string &name) :
00023 PandaNode(name),
00024 _selected_child(0)
00025 {
00026 }
00027
00028
00029
00030
00031
00032
00033 INLINE SelectiveChildNode::
00034 SelectiveChildNode(const SelectiveChildNode ©) :
00035 PandaNode(copy),
00036 _selected_child(copy._selected_child)
00037 {
00038 }
00039
00040
00041
00042
00043
00044
00045
00046
00047 INLINE void SelectiveChildNode::
00048 select_child(int n) {
00049 nassertv(n >= 0);
00050 _selected_child = n;
00051 }