static public void playEnterCrackedBlock(Transform target) { if (target == null) { target = globalTarget; } if (crackedBlockCrack != null) { crackedBlockCrack.play(target); } }
static public void playPlayerWalkDownBlock(Transform target) { if (target == null) { target = globalTarget; } if (playerWalkDownBlock != null) { playerWalkDownBlock.play(target); } }
static public void playCancelMenu() { if (cancelMenu != null) { cancelMenu.play(globalTarget); } }
static public void playDefeat() { if (defeat != null) { defeat.play(globalTarget); } }
static public void playMoveMenu() { if (moveMenu != null) { moveMenu.play(globalTarget); } }
static public void playVictory() { if (victory != null) { victory.play(globalTarget); } }
static public void playDefeatOpening() { if (defeatStart != null) { defeatStart.play(globalTarget); } }
static public void playEnterMenu() { if (enterMenu != null) { enterMenu.play(globalTarget); } }
static public void playVictoryOpening() { if (victoryStart != null) { victoryStart.play(globalTarget); } }
static public void playPlayerLand(Transform target) { if (target == null) { target = globalTarget; } if (playerLand != null) { playerLand.play(target); } }
static public void playPlayerCantPush(Transform target) { if (target == null) { target = globalTarget; } if (playerCantPush != null) { playerCantPush.play(target); } }
static public void playBlockShaking(Transform target) { if (target == null) { target = globalTarget; } if (blockShake != null) { blockShake.play(target); } }
static public void playBlockLanded(Transform target) { if (target == null) { target = globalTarget; } if (blockLand != null) { blockLand.play(target); } }
static public void playPlayerFalling(Transform target) { if (target == null) { target = globalTarget; } if (playerFalling != null) { playerFalling.play(target); } }
static public void playPlayerMoveLedge(Transform target) { if (target == null) { target = globalTarget; } if (playerMoveLedge != null) { playerMoveLedge.play(target); } }
static public void playPlayerCrushed(Transform target) { if (target == null) { target = globalTarget; } if (playerDeath != null) { playerDeath.play(target); } }
static public void playPushBlock(float delay, Transform target) { if (target == null) { target = globalTarget; } if (delay < 1.0f) { if (pushBlock != null) { pushBlock.play(target); } } else { if (longPushBlock != null) { longPushBlock.play(target); } } }