Class TileBlock


  • public class TileBlock
    extends java.lang.Object
    This class is responsible for breaking up a block of tiles into a set of smaller requests that are as large as possible without rerequesting significant numbers of tiles that are already available.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean simplify()  
      TileBlock[] splitOneGo()  
      java.lang.String toString()
      Really nice to string that outlines what tiles are filled and what region this block covers.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toString

        public java.lang.String toString()
        Really nice to string that outlines what tiles are filled and what region this block covers. Really useful for debugging the TileBlock stuff.
        Overrides:
        toString in class java.lang.Object
      • splitOneGo

        public TileBlock[] splitOneGo()
      • simplify

        public boolean simplify()