namespace Chronos
{
///
/// An event anchored at a specified moment in time composed of two actions: one when time goes forward, and another when time goes backward. The latter is most often used to revert the former.
///
public abstract class Occurrence
{
///
/// The time in seconds on the parent timeline at which the occurrence will happen.
///
public float time { get; internal set; }
///
/// Indicates whether this occurrence can happen more than once; that is, whether it will stay on the timeline once it has been rewound.
///
public bool repeatable { get; internal set; }
///
/// The action that is executed when time goes forward.
///
public abstract void Forward();
///
/// The action that is executed when time goes backward.
///
public abstract void Backward();
}
}