Add partymode path as constructor param
This commit is contained in:
1 parent
e119e46c5a
commit
5d28b19066
8 files changed
+14
-45
No files matched your search
@@ -23,14 +23,15 @@ namespace VocaluxeLib.PartyModes
|
||||
{
|
||||
public abstract class CPartyMode : IPartyMode
|
||||
{
|
||||
private string _Folder;
|
||||
private readonly string _Folder;
|
||||
protected SScreenSongOptions _ScreenSongOptions;
|
||||
protected readonly Dictionary<string, CMenuParty> _Screens;
|
||||
|
||||
protected CPartyMode()
|
||||
protected CPartyMode(string folder)
|
||||
{
|
||||
_Screens = new Dictionary<string, CMenuParty>();
|
||||
_ScreenSongOptions = new SScreenSongOptions {Selection = new SSelectionOptions(), Sorting = new SSortingOptions()};
|
||||
_Folder = folder;
|
||||
}
|
||||
|
||||
#region Implementation
|
||||
@@ -39,8 +40,6 @@ namespace VocaluxeLib.PartyModes
|
||||
return false;
|
||||
}
|
||||
|
||||
public void Initialize() {}
|
||||
|
||||
public void AddScreen(CMenuParty screen, string screenName)
|
||||
{
|
||||
_Screens.Add(screenName, screen);
|
||||
@@ -121,11 +120,6 @@ namespace VocaluxeLib.PartyModes
|
||||
return _Folder;
|
||||
}
|
||||
|
||||
public void SetFolder(string folder)
|
||||
{
|
||||
_Folder = folder;
|
||||
}
|
||||
|
||||
public virtual void SetSearchString(string searchString, bool visible) {}
|
||||
|
||||
public virtual void JokerUsed(int teamNr)
|
||||
|
||||
Reference in new issue
Block a user