Compilefehler behoben (String sollte Static sein)
This commit is contained in:
@@ -82,7 +82,6 @@
|
||||
<Compile Include="src\Gui\OnlinePlayerList.cs" />
|
||||
<Compile Include="src\Gui\IPlayer.cs" />
|
||||
<Compile Include="src\Music.cs" />
|
||||
<Compile Include="src\Gui\Splashscreen.cs" />
|
||||
<Compile Include="src\Gui\Dummytile.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
|
||||
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