Artemis.Engine.TimeableObject.InvokeAfter C# (CSharp) Method

InvokeAfter() public method

Invoke a given action after the given number of milliseconds have passed.
public InvokeAfter ( System.Action action, double time ) : void
action System.Action
time double
return void
        public void InvokeAfter(Action action, double time)
        {
            if (time < 0)
                return;
            timedInvocations.Add(new TimedInvocation
            {
                Action = action,
                Milliseconds = time,
                StartTime = ElapsedTime
            });
        }

Same methods

TimeableObject::InvokeAfter ( System.Action action, int frames ) : void