24 lines
499 B
C#
24 lines
499 B
C#
using System.Collections.Generic;
|
|
using Questionable.Model.Common.Converter;
|
|
|
|
namespace Questionable.Model.Questing.Converter;
|
|
|
|
public sealed class JumpTypeConverter : EnumConverter<EJumpType>
|
|
{
|
|
private static readonly Dictionary<EJumpType, string> Values = new Dictionary<EJumpType, string>
|
|
{
|
|
{
|
|
EJumpType.SingleJump,
|
|
"SingleJump"
|
|
},
|
|
{
|
|
EJumpType.RepeatedJumps,
|
|
"RepeatedJumps"
|
|
}
|
|
};
|
|
|
|
public JumpTypeConverter()
|
|
: base((IReadOnlyDictionary<EJumpType, string>)Values)
|
|
{
|
|
}
|
|
}
|