public void add ( BlockBox box ) { box . setOwnerFloatList ( this ) ; floats . add ( box ) ; if ( box . getBounds ( ) . y + box . getBounds ( ) . height > getMaxY ( ) ) bottomBox = box ; if ( box . getBounds ( ) . y > getLastY ( ) ) lastBox = box ; }
Adds a new floating box to the list