public void BeforeEach()
        {
            _definition    = Substitute.For <IKeyValueDefinition <bool> >();
            _database      = Substitute.For <IKeyValueData <bool> >();
            _boolCondition = new ConditionLocalBoolInternal(_database);

            _database.Get(null).ReturnsForAnyArgs(true);
        }
예제 #2
0
 public override void OnInit(IDialogueController dialogue)
 {
     _condition = new ConditionLocalBoolInternal(dialogue.LocalDatabase.Bools);
 }