using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Otter {
public class EventProcessor : Component {
///
/// The list of EventQueueEvents to execute.
///
public List Events = new List();
///
/// The current event that is being executed.
///
public EventProcessorEvent CurrentEvent { get; protected set; }
///
/// Determines if the events will be run. Defaults to true.
///
public bool RunEvents = true;
///
/// True if the number of events in the queue is greater than zero.
///
public bool HasEvents {
get { return Events.Count > 0; }
}
protected bool isFreshEvent = true;
}
}