40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
// Filename: basicSkel.cxx
|
|
// Created by: jyelon (31Jan07)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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."
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#include "basicSkel.h"
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: BasicSkel::set_value_alt
|
|
// Access: Public
|
|
// Description: Stores an integer value. Exact same functionality
|
|
// as set_value, except that this isn't an inline
|
|
// function.
|
|
////////////////////////////////////////////////////////////////////
|
|
void BasicSkel::
|
|
set_value_alt(int n) {
|
|
_value = n;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: BasicSkel::get_value
|
|
// Access: Public
|
|
// Description: Retreives a value that was previously stored.
|
|
// Exact same functionality as get_value, except
|
|
// that this isn't an inline function.
|
|
////////////////////////////////////////////////////////////////////
|
|
int BasicSkel::
|
|
get_value_alt() {
|
|
return _value;
|
|
}
|