public bool AskForFloatAnswer(GrammarBlock question, AnswerListener <float> listener) { var lisBridge = new FloatAnswerListenerBridge(listener); floatAnswerListeners.Add(lisBridge); return(AskForNumericAnswer(helperFactory.implPtr, implPtr, helperFactory.GBlockToGBlockPtr(question), lisBridge.callback)); }
public FloatAnswerListenerBridge(AnswerListener <float> _listener) { listener = _listener; callback = (float answer) => { _listener.OnAnswerUpdate(answer); }; }
bool BehaviorAnalyzer.AskForFloatAnswer(GrammarBlock question, AnswerListener <float> listener) { return(false); //stub }