mirror of
https://github.com/ppy/osu
synced 2025-01-02 04:12:13 +00: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
|
||||
{
|
||||
Triforce,
|
||||
Pear,
|
||||
Grape,
|
||||
DPad,
|
||||
Raspberry,
|
||||
Pineapple,
|
||||
Banana // banananananannaanana
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
||||
{
|
||||
default:
|
||||
return new Container();
|
||||
case FruitVisualRepresentation.DPad:
|
||||
case FruitVisualRepresentation.Raspberry:
|
||||
return new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
@ -176,7 +176,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
||||
},
|
||||
}
|
||||
};
|
||||
case FruitVisualRepresentation.Triforce:
|
||||
case FruitVisualRepresentation.Pear:
|
||||
return new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
@ -80,11 +80,11 @@ namespace osu.Game.Rulesets.Catch.Tests
|
||||
switch (representation)
|
||||
{
|
||||
default:
|
||||
case FruitVisualRepresentation.Triforce:
|
||||
case FruitVisualRepresentation.Pear:
|
||||
return new Color4(17, 136, 170, 255);
|
||||
case FruitVisualRepresentation.Grape:
|
||||
return new Color4(204, 102, 0, 255);
|
||||
case FruitVisualRepresentation.DPad:
|
||||
case FruitVisualRepresentation.Raspberry:
|
||||
return new Color4(121, 9, 13, 255);
|
||||
case FruitVisualRepresentation.Pineapple:
|
||||
return new Color4(102, 136, 0, 255);
|
||||
|
Loading…
Reference in New Issue
Block a user