Compilefehler behoben (String sollte Static sein)
This commit is contained in:
12
src/Music.cs
12
src/Music.cs
@@ -5,12 +5,12 @@ namespace WorldOfPeacecraft
|
||||
{
|
||||
public class Music
|
||||
{
|
||||
string musicpath = "./music/";
|
||||
string soundpath = "./sounds/";
|
||||
SoundPlayer overworldplayer = new SoundPlayer(musicpath + "overworld.wav");
|
||||
SoundPlayer minigameplayer = new SoundPlayer(musicpath + "minigame.wav");
|
||||
SoundPlayer splashscreenplayer = new SoundPlayer (soundpath + "splashscreen.wav");
|
||||
SoundPlayer walkplayer = new SoundPlayer(soundpath + "step.wav");
|
||||
private static string musicpath = "./music/";
|
||||
private static string soundpath = "./sounds/";
|
||||
private SoundPlayer overworldplayer = new SoundPlayer(musicpath + "overworld.wav");
|
||||
private SoundPlayer minigameplayer = new SoundPlayer(musicpath + "minigame.wav");
|
||||
private SoundPlayer splashscreenplayer = new SoundPlayer (soundpath + "splashscreen.wav");
|
||||
private SoundPlayer walkplayer = new SoundPlayer(soundpath + "step.wav");
|
||||
public Music ()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user