public static void Tick(Scenario.Status status)
 {
     if (s_typeToMenu.ContainsKey(s_currentMenu))
     {
         s_typeToMenu[s_currentMenu].Tick_Internal(status);
     }
 }
 protected override void Tick_Internal(Scenario.Status status)
 {
     base.Tick_Internal(status);
     if (tasks)
     {
         tasks.Tick(status);
     }
 }
    public void Tick(Scenario.Status scenario)
    {
        if (featureList)
        {
            featureList.Clear();
        }
        if (bugList)
        {
            bugList.Clear();
        }
        if (doneList)
        {
            doneList.Clear();
        }

        foreach (var item in scenario.taskInfos)
        {
            Task.Status task = item.task.GetStatus();
            if (task.isDone)
            {
                if (doneList)
                {
                    doneList.Add(item);
                }
            }

            else             /*if(task.type == TaskType.Feature)*/
            {
                if (featureList)
                {
                    featureList.Add(item);
                }
            }
            //else if(task.type == TaskType.Bug)
            //{

            //}
        }
    }
 protected virtual void Tick_Internal(Scenario.Status status)
 {
 }
Exemple #5
0
 public void Tick(Scenario.Status scenarioStatus)
 => MenuPage.Tick(scenarioStatus);