public void BeforeEach() { _definition = Substitute.For <IKeyValueDefinition <bool> >(); _database = Substitute.For <IKeyValueData <bool> >(); _boolCondition = new ConditionLocalBoolInternal(_database); _database.Get(null).ReturnsForAnyArgs(true); }
public override void OnInit(IDialogueController dialogue) { _condition = new ConditionLocalBoolInternal(dialogue.LocalDatabase.Bools); }