ps2_manager/PS2_Manager/Core/Artwork.cs
WeeXnes 492d3c71f2
All checks were successful
Java CI / test (push) Successful in 1m33s
added support for configs and vmcs
2025-04-27 03:48:53 +02:00

23 lines
No EOL
461 B
C#

using System;
namespace PS2_Manager.Core;
public static class Artwork
{
public enum Type
{
Front,
Back,
Disc
}
public static Type NextType(Type _type)
{
return (Type)(((int)_type + 1) % Enum.GetValues(typeof(Type)).Length);
}
public static Type PrevType(Type _type)
{
return (Type)(((int)_type - 1 + Enum.GetValues(typeof(Type)).Length) % Enum.GetValues(typeof(Type)).Length);
}
}