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