public virtual void FastForwardTime(int secs) { for (int i = 0; i < LogicComponent.COMPONENT_TYPE_COUNT; i++) { LogicComponent component = this.m_components[i]; if (component != null && component.IsEnabled()) { component.FastForwardTime(secs); } } }
/// <summary> /// Creates a fast forward of time. /// </summary> public virtual void FastForwardTime(int secs) { for (int i = 0; i < this._components.Count; i++) { LogicComponent component = this._components[i]; if (component != null) { if (component.IsEnabled()) { component.FastForwardTime(secs); } } } }