Remove unneeded constructors.

This commit is contained in:
Florian Küpper committed 2014-09-15 19:44:19 +02:00
1 parent 9ab0ea5f34
commit 4f8c482645
12 files changed
+48 -220

No files matched your search

+2 -13
View File
@@ -42,17 +42,6 @@ namespace VocaluxeLib.Menu
public float Size;
[XmlElement("MaxNumber")]
public int MaxNumber;
public SThemeParticleEffect(SThemeParticleEffect theme)
{
Name = theme.Name;
TextureName = theme.TextureName;
Rect = new SRectF(theme.Rect);
Color = new SThemeColor(theme.Color);
Type = theme.Type;
Size = theme.Size;
MaxNumber = theme.MaxNumber;
}
}
public enum EParticleType
@@ -401,7 +390,7 @@ namespace VocaluxeLib.Menu
public CParticleEffect(SThemeParticleEffect theme, int partyModeID)
{
_PartyModeID = partyModeID;
_Theme = new SThemeParticleEffect(theme);
_Theme = theme;
_Stars = new List<CParticle>();
_SpawnTimer = new Stopwatch();
_NextSpawnTime = 0f;
@@ -656,7 +645,7 @@ namespace VocaluxeLib.Menu
public SThemeParticleEffect GetTheme()
{
return new SThemeParticleEffect(_Theme);
return _Theme;
}
#region ThemeEdit