this.map = new HashMap<>();
this.queryList = new ArrayList<>();
}
public void add(E e) {
Rect rect = e.getAABB();
int beginx = ((int) rect.x) / width;
int beginy = ((int) rect.y) / height;
int endx = ((int) (rect.x + rect.w)) / width;
int endy = ((int) (rect.y + rect.h)) / height;