immediateAttribute.cxx 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // Filename: immediateAttribute.cxx
  2. // Created by: drose (24Mar00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
  8. //
  9. // All use of this software is subject to the terms of the Panda 3d
  10. // Software license. You should have received a copy of this license
  11. // along with this source code; you will also find a current copy of
  12. // the license at http://www.panda3d.org/license.txt .
  13. //
  14. // To contact the maintainers of this program write to
  15. // [email protected] .
  16. //
  17. ////////////////////////////////////////////////////////////////////
  18. #include "immediateAttribute.h"
  19. #include "immediateTransition.h"
  20. #include <indent.h>
  21. TypeHandle ImmediateAttribute::_type_handle;
  22. ////////////////////////////////////////////////////////////////////
  23. // Function: ImmediateAttribute::make_copy
  24. // Access: Public, Virtual
  25. // Description:
  26. ////////////////////////////////////////////////////////////////////
  27. NodeAttribute *ImmediateAttribute::
  28. make_copy() const {
  29. return new ImmediateAttribute(*this);
  30. }
  31. ////////////////////////////////////////////////////////////////////
  32. // Function: ImmediateAttribute::make_initial
  33. // Access: Public, Virtual
  34. // Description:
  35. ////////////////////////////////////////////////////////////////////
  36. NodeAttribute *ImmediateAttribute::
  37. make_initial() const {
  38. return new ImmediateAttribute;
  39. }
  40. ////////////////////////////////////////////////////////////////////
  41. // Function: ImmediateAttribute::get_handle
  42. // Access: Public, Virtual
  43. // Description:
  44. ////////////////////////////////////////////////////////////////////
  45. TypeHandle ImmediateAttribute::
  46. get_handle() const {
  47. return ImmediateTransition::get_class_type();
  48. }
  49. ////////////////////////////////////////////////////////////////////
  50. // Function: ImmediateAttribute::internal_compare_to
  51. // Access: Protected, Virtual
  52. // Description:
  53. ////////////////////////////////////////////////////////////////////
  54. int ImmediateAttribute::
  55. internal_compare_to(const NodeAttribute *) const {
  56. return 0;
  57. }