protected boolean checkCollision(float ax, float ay) {
		float nx = (x + xo) + ax;
		float ny = (y + yo) + ay;
		int cx = (int)nx >> 4;
		int cy = (int)ny >> 4;
		
		Rectangle srect = new Rectangle((int)nx, (int)ny, w, h);
		
		for(int sy = cy - 2; sy < cy + 3; sy++) {
			for (int sx = cx - 2; sx < cx + 3; sx++) {
				
				Tile t = level.getTile(sx, sy);
				if(!t.isSolid()) continue;
				if(srect.intersects(t.getCollBox(sx, sy, level))) return true;
			}
		}
		
		return false;
	}