MiroslavJelaska/SpaceInvaders

View on GitHub
src/events/commands/PlayIntroSound.java

Summary

Maintainability
A
0 mins
Test Coverage
package events.commands;

import game.Game;
import resources.SoundEffectTracks;
import utilities.Command;
import utilities.SoundEffectPlayer;

public class PlayIntroSound implements Command {
    @Override
    public void Apply(Game game) {
        SoundEffectPlayer.Play(SoundEffectTracks.GetTrackPath(SoundEffectTracks.Track.IntroSound));
    }
}