Artemis.Engine.TimeableObject.AtIntervals C# (CSharp) Метод

AtIntervals() публичный Метод

Returns true if the elapsed frame count is between the given start and end frames, and is congruent to zero mod the given interval. If EF is the number of elapsed frames, then this function is equivalent to saying (start <= EF && EF <= end) && (EF - start) % interval == 0.
public AtIntervals ( int interval, int start, int end = Int32.MaxValue ) : bool
interval int
start int
end int
Результат bool
        public bool AtIntervals(int interval, int start = 0, int end = Int32.MaxValue)
        {
            return DuringOrAt(start, end) && (ElapsedFrames - start) % interval == 0;
        }

Same methods

TimeableObject::AtIntervals ( double interval, double start, double end = Double.PositiveInfinity ) : bool