public void AddAction(SamActionDelegate action) { actionList.AddLast(new SamAction(0f, action)); }
public SamAction(SamActionDelegate onStart, SamActionDelegate onFinish = null) : this(0f, onStart, onFinish) { }
public SamAction(float length, SamActionDelegate onStart = null, SamActionDelegate onFinish = null) : this() { this.Length = length; this.OnStart = onStart; this.OnFinish = onFinish; }
public WaitForAction(SamActionWaitForDelegate waitFor, SamActionDelegate onStart = null, SamActionDelegate onFinish = null) : base() { this.WaitFor = waitFor; this.OnStart = onStart; this.OnFinish = onFinish; }