Rename enum

This commit is contained in:
Dean Herbert 2018-01-04 18:20:23 +09:00
parent 5253ee5c08
commit 5bd489863c
3 changed files with 6 additions and 6 deletions

View File

@ -50,9 +50,9 @@ namespace osu.Game.Rulesets.Catch.Objects
public enum FruitVisualRepresentation
{
Triforce,
Pear,
Grape,
DPad,
Raspberry,
Pineapple,
Banana // banananananannaanana
}

View File

@ -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,

View File

@ -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);