@Override
	public void update() {
		p.update();
		handleInput();
		op.update();

		if (op.health <= 1) {
			endResult = "Player1 Wins !";
			freeze();
		} else if (p.health <= 1) {
			endResult = "You Lost !";
			freeze();
		} else {
			endResult = "";
		}
	}