示例#1
0
 public void SetQuadNodeForPlayerVisibility(QuadNode quadNode)
 {
     mQuadNodeForPlayerVisibility = quadNode;
 }
示例#2
0
 public void SetQuadNodeForCollision(QuadNode quadNode)
 {
     mQuadNodeForCollision = quadNode;
 }
示例#3
0
 protected void Init(Type type)
 {
     mType = type;
     FilledLeaves = new List<QuadNode>();
     Root = new QuadNode(null, this);
     Root.Init();
 }
示例#4
0
 public void SetQuadNode(Type type, QuadNode quadNode)
 {
     QuadNodeDecider.SetQuadNode(type, this, quadNode);
 }
示例#5
0
 public QuadNode(QuadNode parent, QuadTreeManager manager)
 {
     mParent = parent;
     mManager = manager;
     mType = mManager.mType;
 }