Merge branch 'master' of manuel-voegele.de:inf3
This commit is contained in:
12
src/Music.cs
12
src/Music.cs
@@ -5,12 +5,12 @@ namespace WorldOfPeacecraft
|
|||||||
{
|
{
|
||||||
public class Music
|
public class Music
|
||||||
{
|
{
|
||||||
string musicpath = "./music/";
|
private static string musicpath = "./music/";
|
||||||
string soundpath = "./sounds/";
|
private static string soundpath = "./sounds/";
|
||||||
SoundPlayer overworldplayer = new SoundPlayer(musicpath + "overworld.wav");
|
private SoundPlayer overworldplayer = new SoundPlayer(musicpath + "overworld.wav");
|
||||||
SoundPlayer minigameplayer = new SoundPlayer(musicpath + "minigame.wav");
|
private SoundPlayer minigameplayer = new SoundPlayer(musicpath + "minigame.wav");
|
||||||
SoundPlayer splashscreenplayer = new SoundPlayer (soundpath + "splashscreen.wav");
|
private SoundPlayer splashscreenplayer = new SoundPlayer (soundpath + "splashscreen.wav");
|
||||||
SoundPlayer walkplayer = new SoundPlayer(soundpath + "step.wav");
|
private SoundPlayer walkplayer = new SoundPlayer(soundpath + "step.wav");
|
||||||
public Music ()
|
public Music ()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user