com.brackeen.javagamebook.bsp2D
Class BSPTree.Leaf

java.lang.Object
  extended bycom.brackeen.javagamebook.bsp2D.BSPTree.Node
      extended bycom.brackeen.javagamebook.bsp2D.BSPTree.Leaf
Enclosing class:
BSPTree

public static class BSPTree.Leaf
extends BSPTree.Node

A Leaf of the tree. A leaf has no partition or front or back nodes.


Field Summary
 java.awt.Rectangle bounds
           
 float ceilHeight
           
 float floorHeight
           
 boolean isBack
           
 java.util.List portals
           
 
Fields inherited from class com.brackeen.javagamebook.bsp2D.BSPTree.Node
back, front, partition, polygons
 
Constructor Summary
BSPTree.Leaf()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

floorHeight

public float floorHeight

ceilHeight

public float ceilHeight

isBack

public boolean isBack

portals

public java.util.List portals

bounds

public java.awt.Rectangle bounds
Constructor Detail

BSPTree.Leaf

public BSPTree.Leaf()