diff --git a/Frameworks/SimpleSoundManager/ClassLibrary1/ClassLibrary1/Class1.cs b/Frameworks/SimpleSoundManager/ClassLibrary1/ClassLibrary1/Class1.cs index f23c515b..1bcc696a 100644 --- a/Frameworks/SimpleSoundManager/ClassLibrary1/ClassLibrary1/Class1.cs +++ b/Frameworks/SimpleSoundManager/ClassLibrary1/ClassLibrary1/Class1.cs @@ -10,16 +10,20 @@ namespace SoundExample { public class Class1 : Mod { + /// + /// Create a SoundManager object so I can play/stop sounds. + /// SimpleSoundManager.SoundManager mySoundManager; public override void Entry(IModHelper helper) { + //Create the new SoundManager by referencing the location of the wave and sound banks on my computer. mySoundManager = new SimpleSoundManager.SoundManager(Path.Combine(this.Helper.DirectoryPath,"Wave Bank2.xwb"), Path.Combine(this.Helper.DirectoryPath,"Sound Bank2.xsb")); StardewModdingAPI.Events.ControlEvents.KeyPressed += ControlEvents_KeyPressed; } /// - /// Example for running code. Can call code whenever such as at a certain time of day, event, action occured, etc. + /// Example for running code. Can call code whenever such as at a certain time of day, event, action occured, etc. This one uses key presses. /// /// ///