diff --git a/osu.Desktop.VisualTests/Tests/TestCaseManiaPlayfield.cs b/osu.Desktop.VisualTests/Tests/TestCaseManiaPlayfield.cs
index 259dd6b4eb..7e5a564da6 100644
--- a/osu.Desktop.VisualTests/Tests/TestCaseManiaPlayfield.cs
+++ b/osu.Desktop.VisualTests/Tests/TestCaseManiaPlayfield.cs
@@ -38,11 +38,11 @@ namespace osu.Desktop.VisualTests.Tests
AddStep("Trigger keys down", () => ((ManiaPlayfield)Children.First()).Columns.Children.ForEach(triggerKeyDown));
AddStep("Trigger keys up", () => ((ManiaPlayfield)Children.First()).Columns.Children.ForEach(triggerKeyUp));
- AddStep("Left special style", () => ((ManiaPlayfield)Children.First()).SpecialColumnStyle = SpecialColumnStyle.Left);
- AddStep("Right special style", () => ((ManiaPlayfield)Children.First()).SpecialColumnStyle = SpecialColumnStyle.Right);
+ AddStep("Left special style", () => ((ManiaPlayfield)Children.First()).SpecialColumnPosition = SpecialColumnPosition.Left);
+ AddStep("Right special style", () => ((ManiaPlayfield)Children.First()).SpecialColumnPosition = SpecialColumnPosition.Right);
}
- AddStep("Normal special style", () => ((ManiaPlayfield)Children.First()).SpecialColumnStyle = SpecialColumnStyle.Normal);
+ AddStep("Normal special style", () => ((ManiaPlayfield)Children.First()).SpecialColumnPosition = SpecialColumnPosition.Normal);
}
private void triggerKeyDown(Column column)
diff --git a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs
index 000a3e47ad..d084326f5b 100644
--- a/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs
+++ b/osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs
@@ -27,18 +27,18 @@ namespace osu.Game.Rulesets.Mania.UI
///
private static readonly Key[] default_keys = { Key.A, Key.S, Key.D, Key.F, Key.J, Key.K, Key.L, Key.Semicolon };
- private SpecialColumnStyle specialColumnStyle;
+ private SpecialColumnPosition specialColumnPosition;
///
/// The style to use for the special column.
///
- public SpecialColumnStyle SpecialColumnStyle
+ public SpecialColumnPosition SpecialColumnPosition
{
- get { return specialColumnStyle; }
+ get { return specialColumnPosition; }
set
{
- if (specialColumnStyle == value)
+ if (specialColumnPosition == value)
return;
- specialColumnStyle = value;
+ specialColumnPosition = value;
if (!IsLoaded)
return;
@@ -158,14 +158,14 @@ namespace osu.Game.Rulesets.Mania.UI
/// Whether the column is a special column.
private bool isSpecialColumn(int column)
{
- switch (SpecialColumnStyle)
+ switch (SpecialColumnPosition)
{
default:
- case SpecialColumnStyle.Normal:
+ case SpecialColumnPosition.Normal:
return columnCount % 2 == 1 && column == columnCount / 2;
- case SpecialColumnStyle.Left:
+ case SpecialColumnPosition.Left:
return column == 0;
- case SpecialColumnStyle.Right:
+ case SpecialColumnPosition.Right:
return column == columnCount - 1;
}
}
diff --git a/osu.Game.Rulesets.Mania/UI/SpecialColumnStyle.cs b/osu.Game.Rulesets.Mania/UI/SpecialColumnPosition.cs
similarity index 90%
rename from osu.Game.Rulesets.Mania/UI/SpecialColumnStyle.cs
rename to osu.Game.Rulesets.Mania/UI/SpecialColumnPosition.cs
index 5acb147312..7fd30e7d0d 100644
--- a/osu.Game.Rulesets.Mania/UI/SpecialColumnStyle.cs
+++ b/osu.Game.Rulesets.Mania/UI/SpecialColumnPosition.cs
@@ -3,7 +3,7 @@
namespace osu.Game.Rulesets.Mania.UI
{
- public enum SpecialColumnStyle
+ public enum SpecialColumnPosition
{
///
/// The special column will lie in the center of the columns.
diff --git a/osu.Game.Rulesets.Mania/osu.Game.Rulesets.Mania.csproj b/osu.Game.Rulesets.Mania/osu.Game.Rulesets.Mania.csproj
index 0a781aa30d..e2c6ad9a9f 100644
--- a/osu.Game.Rulesets.Mania/osu.Game.Rulesets.Mania.csproj
+++ b/osu.Game.Rulesets.Mania/osu.Game.Rulesets.Mania.csproj
@@ -61,7 +61,7 @@
-
+