Class BoolItem
- Namespace
- RandomizerCore.LogicItems
- Assembly
- RandomizerCore.dll
public sealed record BoolItem : LogicItem, ILogicItem, ILogicItemTemplate, IEquatable<LogicItem>, IEquatable<BoolItem>
- Inheritance
-
BoolItem
- Implements
- Inherited Members
Constructors
BoolItem(string, Term)
public BoolItem(string Name, Term Term)
Parameters
Properties
Term
public Term Term { get; init; }
Property Value
Methods
AddTo(ProgressionManager)
Directly adds the item to the pm. This does not invoke the pm events, so it is best to implement this explicitly and use pm.Add instead.
public override void AddTo(ProgressionManager pm)
Parameters
GetAffectedTerms()
Returns the terms potentially modified by the item.
public override IEnumerable<Term> GetAffectedTerms()