mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Rename enum
This commit is contained in:
parent
5253ee5c08
commit
5bd489863c
@ -50,9 +50,9 @@ namespace osu.Game.Rulesets.Catch.Objects
|
|||||||
|
|
||||||
public enum FruitVisualRepresentation
|
public enum FruitVisualRepresentation
|
||||||
{
|
{
|
||||||
Triforce,
|
Pear,
|
||||||
Grape,
|
Grape,
|
||||||
DPad,
|
Raspberry,
|
||||||
Pineapple,
|
Pineapple,
|
||||||
Banana // banananananannaanana
|
Banana // banananananannaanana
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
|||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
return new Container();
|
return new Container();
|
||||||
case FruitVisualRepresentation.DPad:
|
case FruitVisualRepresentation.Raspberry:
|
||||||
return new Container
|
return new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
@ -176,7 +176,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
case FruitVisualRepresentation.Triforce:
|
case FruitVisualRepresentation.Pear:
|
||||||
return new Container
|
return new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
@ -80,11 +80,11 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
switch (representation)
|
switch (representation)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
case FruitVisualRepresentation.Triforce:
|
case FruitVisualRepresentation.Pear:
|
||||||
return new Color4(17, 136, 170, 255);
|
return new Color4(17, 136, 170, 255);
|
||||||
case FruitVisualRepresentation.Grape:
|
case FruitVisualRepresentation.Grape:
|
||||||
return new Color4(204, 102, 0, 255);
|
return new Color4(204, 102, 0, 255);
|
||||||
case FruitVisualRepresentation.DPad:
|
case FruitVisualRepresentation.Raspberry:
|
||||||
return new Color4(121, 9, 13, 255);
|
return new Color4(121, 9, 13, 255);
|
||||||
case FruitVisualRepresentation.Pineapple:
|
case FruitVisualRepresentation.Pineapple:
|
||||||
return new Color4(102, 136, 0, 255);
|
return new Color4(102, 136, 0, 255);
|
||||||
|
Loading…
Reference in New Issue
Block a user