some code reorganization

This commit is contained in:
Alexander Eckart committed 2013-02-22 21:27:34 +01:00
1 parent a29f4fb0d6
commit 521033ed97
41 files changed
+836 -842

No files matched your search

+4 -6
View File
@@ -8,7 +8,6 @@ namespace Vocaluxe.PartyModes
{
public abstract class CPartyMode : IPartyMode
{
protected Basic _Base;
protected ScreenSongOptions _ScreenSongOptions;
protected Dictionary<string, CMenuParty> _Screens;
protected string _Folder;
@@ -28,9 +27,8 @@ namespace Vocaluxe.PartyModes
return false;
}
public void Initialize(Basic Base)
public void Initialize()
{
_Base = Base;
}
public void AddScreen(CMenuParty Screen, string ScreenName)
@@ -122,17 +120,17 @@ namespace Vocaluxe.PartyModes
public virtual void FinishedSinging()
{
_Base.Graphics.FadeTo(EScreens.ScreenScore);
CBase.Graphics.FadeTo(EScreens.ScreenScore);
}
public virtual void LeavingScore()
{
_Base.Graphics.FadeTo(EScreens.ScreenHighscore);
CBase.Graphics.FadeTo(EScreens.ScreenHighscore);
}
public virtual void LeavingHighscore()
{
_Base.Graphics.FadeTo(EScreens.ScreenSong);
CBase.Graphics.FadeTo(EScreens.ScreenSong);
}
#endregion Implementation
}