1
0
mirror of https://github.com/SirusDoma/VoxCharger.git synced 2024-12-19 19:06:05 +01:00
VoxCharger/Sources/Events/Controller/Tilt.cs

31 lines
814 B
C#
Raw Normal View History

2020-04-18 22:24:48 +02:00
using System;
namespace VoxCharger
{
public abstract partial class Camera
{
public class Tilt : Camera
{
public Tilt(Time time, int duration, float start, float end)
: base(time, WorkType.Rotation)
{
Duration = duration;
Start = start;
End = end;
}
public override string ToString()
{
return $"{base.ToString()}" +
$"\tTilt" +
$"\t2" +
$"\t{Duration}" +
$"\t{Start:0.00}" +
$"\t{End:0.00}" +
$"\t0.00" + // Can be 0.00, 2.00 or 3.00
$"\t0.00";
}
}
}
}