mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Rewrite a lot of ManiaPlayfield/Column to support left/right special styles and arbitrary number of columns.
This commit is contained in:
@ -20,7 +20,7 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
{
|
||||
base.Reset();
|
||||
|
||||
const int max_columns = 9;
|
||||
const int max_columns = 10;
|
||||
|
||||
for (int i = 1; i <= max_columns; i++)
|
||||
{
|
||||
@ -38,6 +38,8 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user