Class LogicTransition
- Namespace
- RandomizerCore.Logic
- Assembly
- RandomizerCore.dll
public class LogicTransition : ILogicDef, ILocationDependentItem, ILogicItem, ILocationWaypoint
- Inheritance
-
LogicTransition
- Implements
- Inherited Members
Fields
logic
public readonly StateLogicDef logic
Field Value
term
public readonly Term term
Field Value
Properties
Name
public string Name { get; }
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
CanGet(ProgressionManager)
public bool CanGet(ProgressionManager pm)
Parameters
Returns
GetAffectedTerms()
Returns the pm indices potentially modified by the item.
public IEnumerable<Term> GetAffectedTerms()
Returns
GetReachableEffect()
Returns a logic item which applies an effect when the location becomes reachable.
public ILogicItem GetReachableEffect()
Returns
GetTerms()
public IEnumerable<Term> GetTerms()
Returns
Place(ProgressionManager, ILogicDef)
Directly performs the action of the location-dependent item on the pm. This does not invoke pm events, so consumers should invoke the corresponding method on the pm.
public void Place(ProgressionManager pm, ILogicDef location)
Parameters
pm
ProgressionManagerlocation
ILogicDef