//texture = textures[texID];
}
public void horizontalPhysics(int delta){
Block[] sideBlocks = env.getSideBlocks(x, y, width);
Rectangle newMask = getMask((float)xSpeed, 0f);
if (xSpeed > 0){
for (int i = 1; i < 6; i+=2){
if (sideBlocks[i] != null && sideBlocks[i].solid && Utils.intersects(sideBlocks[i].mask, newMask)){
xSpeed = 0;
facing = -1;