From 2375afc8d0db70f829288586f5076e7da8684a87 Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Tue, 16 Oct 2018 18:07:49 -0400 Subject: Adding comment about what PopulateFiles() does now --- src/main/java/soundchan/LocalAudioManager.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/main/java/soundchan/LocalAudioManager.java b/src/main/java/soundchan/LocalAudioManager.java index 306b8dd..036b38d 100644 --- a/src/main/java/soundchan/LocalAudioManager.java +++ b/src/main/java/soundchan/LocalAudioManager.java @@ -92,6 +92,10 @@ public class LocalAudioManager { filenameDict = PopulateFiles(); } + /** + * Creates a map of the sounds in the sound directory + * @return A map with the filename (without extension) is the key for the filename (with extension) + */ private Map PopulateFiles(){ File folder = new File(filepath); File[] listOfFiles = folder.listFiles(); -- cgit v1.2.3