public void CenterUpdate() { if (Level.keysPressed[3] == 1) // && Level.leftPlatform != true) { x -= Player.getMoveX(); // } if (Level.keysPressed[2] == 1) // && Level.rightPlatform != true) { x += Player.getMoveX(); // } if (Level.onPlatform == false) { y += Level.gravityStrength + Level.yMove; } y -= Level.yAdjust; x -= Level.xAdjust; DrawQuadTex(tex, x, y, width, height); }