Ejemplo n.º 1
0
 // Return all objects that would overlap this set of boxes indicated by the index rectangle
 private System.Collections.Generic.List <GameObject> getObjectsInIndexBox(IndexBox indexBox)
 {
     if (indexBox.countNumBlocks() < this.items.Count)
     {
         return(this.searchWorldForIndexBox(indexBox));
     }
     else
     {
         return(this.searchItemsForIndexBox(indexBox));
     }
 }