1
0
mirror of https://github.com/SirusDoma/VoxCharger.git synced 2024-12-18 10:25:54 +01:00
VoxCharger/Sources/Events/TiltMode.cs

31 lines
610 B
C#
Raw Normal View History

2020-04-18 22:24:48 +02:00
using System;
namespace VoxCharger
{
public abstract partial class Event
{
public enum TiltType
{
Normal = 0,
Large = 1,
Incremental = 2
}
public class TiltMode : Event
{
public TiltType Mode { get; set; }
public TiltMode(Time time, TiltType mode)
: base(time)
{
Mode = mode;
}
public override string ToString()
{
return $"{base.ToString()}\t{(int)Mode}";
}
}
}
}