/*
 ====================================================================
 CCreate basic action.
 ====================================================================
 */
 public static Action CreateAction(EngineActionsTypes actionType)
 {
     Action action = new Action();
     action.type = actionType;
     return action;
 }
 public static void action_queue(EngineActionsTypes actionType)
 {
     actions.Enqueue(CreateAction(actionType));
     CheckScheduler();
 }