33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using KernelPanic.Core;
|
|
using KernelPanic.Data;
|
|
|
|
namespace KernelPanic.Run
|
|
{
|
|
/// <summary>
|
|
/// Describes the player choices and starting deck used to begin a run.
|
|
/// </summary>
|
|
public sealed class RunConfig
|
|
{
|
|
public RunConfig(DistroDefinition distro, Language primaryLanguage, Language secondaryLanguage, IReadOnlyList<CardDefinition> startingDeck)
|
|
: this(distro, primaryLanguage, secondaryLanguage, startingDeck, 0)
|
|
{
|
|
}
|
|
|
|
public RunConfig(DistroDefinition distro, Language primaryLanguage, Language secondaryLanguage, IReadOnlyList<CardDefinition> startingDeck, int runSeed)
|
|
{
|
|
Distro = distro;
|
|
PrimaryLanguage = primaryLanguage;
|
|
SecondaryLanguage = secondaryLanguage;
|
|
StartingDeck = startingDeck;
|
|
RunSeed = runSeed;
|
|
}
|
|
|
|
public DistroDefinition Distro { get; }
|
|
public Language PrimaryLanguage { get; }
|
|
public Language SecondaryLanguage { get; }
|
|
public IReadOnlyList<CardDefinition> StartingDeck { get; }
|
|
public int RunSeed { get; }
|
|
}
|
|
}
|