public void update(GameContainer container, int delta) throws SlickException{ 
		if (container.getInput().isKeyDown(Input.KEY_LEFT) ) {
			playerX-= .1 * delta;
			playerPoly.setX(playerX);
			if (entityCollisionWith()){
				playerX++;
				playerPoly.setX(playerX);
			}
		}
		if (container.getInput().isKeyDown(Input.KEY_RIGHT) ) {
 
			playerX+= .1 * delta;
			playerPoly.setX(playerX);
			if (entityCollisionWith()){
				playerX--;
				playerPoly.setX(playerX);
			}
		}
		if (container.getInput().isKeyDown(Input.KEY_UP)) {
 
			playerY-= .1 * delta;
			playerPoly.setY(playerY);
			if (entityCollisionWith()){
				playerY++;
				playerPoly.setY(playerY);
			}
		}
		if (container.getInput().isKeyDown(Input.KEY_DOWN)) {
			playerY+= .1* delta;
			playerPoly.setY(playerY);
			if (entityCollisionWith()){
				playerY--;
				playerPoly.setY(playerY);
			}
		}
	}