Add missle sound
This commit is contained in:
@@ -33,6 +33,7 @@ public AnimationState(ClientGameLogic logic, boolean myTurn, IntPoint position)
|
||||
logic.getOpponentMap().add(shell);
|
||||
} else {
|
||||
logic.getOwnMap().add(shell);
|
||||
logic.playSound(Sound.MISSLE_FLYBY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,5 +22,9 @@ public enum Sound {
|
||||
/**
|
||||
* Sound of a ship being destroyed.
|
||||
*/
|
||||
DESTROYED_SHIP
|
||||
DESTROYED_SHIP,
|
||||
/**
|
||||
* Sound of an incomming missle.
|
||||
*/
|
||||
MISSLE_FLYBY,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user