-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
milanvanzanten
committed
Jul 2, 2015
1 parent
718d0e1
commit 6c4698e
Showing
6 changed files
with
180 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package client.sound; | ||
|
||
import gameLogic.Player; | ||
|
||
/** | ||
* Class handling the sounds players make | ||
*/ | ||
public class PlayerSound { | ||
|
||
public static void pickUp(Player player) { | ||
SoundManager.play(player.getSoundPickUp()); | ||
} | ||
|
||
public static void proned(Player player) { | ||
SoundManager.play(player.getSoundProned()); | ||
} | ||
|
||
public static void stunned(Player player) { | ||
SoundManager.play(player.getSoundStunned()); | ||
} | ||
|
||
public static void injured(Player player) { | ||
SoundManager.play(player.getSoundInjured()); | ||
} | ||
|
||
public static void ko(Player player) { | ||
SoundManager.play(player.getSoundKO()); | ||
} | ||
|
||
public static void blitz(Player player) { | ||
SoundManager.play(player.getSoundBlitz()); | ||
} | ||
|
||
public static void block(Player player) { | ||
SoundManager.play(player.getSoundBlock()); | ||
} | ||
|
||
public static void pass(Player player) { | ||
SoundManager.play(player.getSoundPass()); | ||
} | ||
|
||
public static void died(Player player) { | ||
SoundManager.play(player.getSoundDied()); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters