1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-08 03:03:00 +08:00

Add odd/even type to test scenes

This commit is contained in:
smoogipoo 2020-04-01 12:04:33 +09:00
parent bb5fa472dc
commit c10a91a33e

View File

@ -4,6 +4,7 @@
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Mania.UI; using osu.Game.Rulesets.Mania.UI;
using osuTK.Graphics; using osuTK.Graphics;
@ -26,7 +27,8 @@ namespace osu.Game.Rulesets.Mania.Tests.Skinning
this.column = new Column(column) this.column = new Column(column)
{ {
Action = { Value = action }, Action = { Value = action },
AccentColour = Color4.Orange AccentColour = Color4.Orange,
ColumnType = column % 2 == 0 ? ColumnType.Even : ColumnType.Odd
}; };
InternalChild = content = new ManiaInputManager(new ManiaRuleset().RulesetInfo, 4) InternalChild = content = new ManiaInputManager(new ManiaRuleset().RulesetInfo, 4)