forked from liza/Questionable
19 lines
398 B
C#
19 lines
398 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Questionable.Model.V1;
|
|
|
|
public sealed class QuestSequence
|
|
{
|
|
public int Sequence { get; set; }
|
|
public string? Comment { get; set; }
|
|
public List<QuestStep> Steps { get; set; } = new();
|
|
|
|
public QuestStep? FindStep(int step)
|
|
{
|
|
if (step < 0 || step >= Steps.Count)
|
|
return null;
|
|
|
|
return Steps[step];
|
|
}
|
|
}
|