Table of Contents

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

Name string
Term Term

Properties

Term

public Term Term { get; init; }

Property Value

Term

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

pm ProgressionManager

GetAffectedTerms()

Returns the terms potentially modified by the item.

public override IEnumerable<Term> GetAffectedTerms()

Returns

IEnumerable<Term>