// when player leaves parry obbject public void exitParryObject() { if (!touchingGround) { jumpsLeft = 0; this.parryObject = null; } }
// when player enters parry object public void enterParryObject(AParryObject parryObject) { jumpsLeft = 1; this.parryObject = parryObject; if (isJumpStashed) { StashedJump(); } }