Class RandoItem
- Namespace
- RandomizerCore
- Assembly
- RandomizerCore.dll
public class RandoItem : IRandoItem, ILogicItem
- Inheritance
-
RandoItem
- Implements
- Inherited Members
Fields
item
public LogicItem item
Field Value
Properties
Name
public string Name { get; }
Property Value
Placed
Property managed by the randomizer for internal tracking.
public TempState Placed { get; set; }
Property Value
Priority
Property managed by the randomizer and certain events. Lower priorities are placed first.
public float Priority { get; set; }
Property Value
Required
Property managed by the randomizer. Set true if the item is not placed in the last sphere.
public bool Required { get; set; }
Property Value
Sphere
Property managed by the randomizer. Set to the index of the sphere in which the item is placed.
public int Sphere { get; set; }
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 void AddTo(ProgressionManager pm)
Parameters
GetAffectedTerms()
Returns the pm indices potentially modified by the item.
public IEnumerable<Term> GetAffectedTerms()
Returns
ToString()
public override string ToString()