private void checkCollision() {
		if ((sprite.collidesWith(dummy) && sprite.getCurrentFrame() == 35 
				&& sprite.animationDirection == 1 && dummy.position.x > sprite.position.x) || 
				(sprite.collidesWith(dummy) && sprite.getCurrentFrame() == 47 
						&& sprite.animationDirection == -1 && dummy.position.x < sprite.position.x)) {
			dummyCollision = true;
			dummyHitCount++;
		}
		else
			dummyCollision = false;
	}