25 lines
No EOL
674 B
C#
25 lines
No EOL
674 B
C#
namespace JD.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Identifies a section that should not collide with other (example: on the same track).
|
|
/// </summary>
|
|
public class CollisionArea
|
|
{
|
|
public object CollisionGroup { get; set; }
|
|
public Clip Clip { get; set; }
|
|
public int StartFrame { get; set; }
|
|
public int StopFrame { get; set; }
|
|
|
|
public CollisionArea(Clip clip)
|
|
{
|
|
Clip = clip;
|
|
StartFrame = clip.StartFrame;
|
|
StopFrame= clip.StopFrame;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Collides with {Clip.ToStringDetailed()}";
|
|
}
|
|
}
|
|
} |