public void removeObject(GameObject object) { blocked[(int) (object.getX() / 32)][(int) (object.getY() / 32)] = false; triad.remove(object); }
public void registerObject(GameObject object) { blocked[(int) (object.getX() / 32)][(int) (object.getY() / 32)] = true; triad.register((int) (object.getX() / 32), (int) (object.getY() / 32), object); }