public void BeforeEach() { _definition = Substitute.For <IKeyValueDefinition <float> >(); _database = Substitute.For <IKeyValueData <float> >(); _condition = new ConditionLocalFloatInternal(_database); _database.Get(null).ReturnsForAnyArgs(0); }
public override void OnInit(IDialogueController dialogue) { _condition = new ConditionLocalFloatInternal(dialogue.LocalDatabase.Floats); }