KoogleApp/KoogleApp/Store/Game/ThrowPanel/Selectors.cs

19 lines
559 B
C#

namespace KoogleApp.Store.Game.ThrowPanel
{
public static class ThrowPanelSelectors
{
public static string GetThrowModeName(ThrowPanelState state)
{
switch (state.ThrowMode)
{
case ThrowMode.Decrease:
return "Abräumen";
case ThrowMode.Reposition:
return "in die Vollen";
default:
throw new ArgumentOutOfRangeException(nameof(state.ThrowMode), state.ThrowMode, null);
}
}
}
}