Added sounds to coin pick up

Refactored check for token collision to move into the generic check for collision method
Created a YachtEventType enum to differentiate between collision and pickup on client side.
Client now plays a sound when they pick up a token

#story[1250]
This commit is contained in:
William Muir
2017-09-11 15:11:11 +12:00
parent 9fcb8915c2
commit 24a3a54ccb
@@ -460,6 +460,7 @@ public class GameClient {
); );
} }
// TODO: 11/09/17 wmu16 - Add in functionality to viually indicate a pickup to a user
private void showPickUp() { private void showPickUp() {
Sounds.playTokenPickupSound(); Sounds.playTokenPickupSound();
} }