private static void Main(string[] args)
 {
     ActionProcesses process = new ActionProcesses(new TimeMonoActionProcess(1,
         (e, t) =>
     {
         Console.WriteLine("Total excuted: " + t);
         return false;
     }));
     MonoAction action = new MonoAction("test", process);
 }
 public void AddAction(MonoAction action) { }
 public void RemoveAction(MonoAction action)
 {
     actions.Remove(action);
 }
 public void TakeAction(MonoAction action)
 {
     CurrentActions.Add(action);
     action.Begin(this);
 }
 public void AddAction(MonoAction action)
 {
     if (action == null)
         ArgumentNull.Throw("action");
     actions.Add(action);
 }