Guest User

ExtendedTreeNode

a guest
May 9th, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1. public class ExtendedTreeNode : TreeNode
  2.         {
  3.             private Vector3D _Pos;
  4.             //private int _childCount;
  5.            
  6.             public void setPos(Vector3D Pos)
  7.             {
  8.                 _Pos = Pos;
  9.             }
  10.             //          public void setChildCount(int childCount)
  11.             //          {
  12.                 //              _childCount = childCount;
  13.             //          }
  14.             public Vector3D getPos()
  15.             {
  16.                 return _Pos;
  17.             }
  18.             //          public int getChildCount()
  19.             //          {
  20.                 //              return _childCount;
  21.             //          }
  22.            
  23.             public ExtendedTreeNode()
  24.             {
  25.                 _Pos = new Vector3D(0.1d,0.1d,0.1d);
  26.                 //              _childCount = 0;
  27.             }
  28.         }
Advertisement
Add Comment
Please, Sign In to add comment