public void createNoteInWallet(ProblemAndAnswer answer) //This is the main function that will be used { List <Note> notesToDisplay = addRandomNote(mergeAnswers(answer.GetMixedAnswer(), answer.GetRielAnswer()), maxAddUsdNum, maxAddReilsNum); for (int i = 0; i < notesToDisplay.Count; i++) { createNote(notesToDisplay[i]); } }
// Update is called once per frame public void createNoteInWalletMixed(ProblemAndAnswer answer) { maxAddUsdNum = settings.MaxAddUsdNum; minAddUsdNum = settings.MinAddUsdNum; maxAddReilsNum = settings.MaxAddRielsNum; minAddReilsNum = settings.MinAddRielsNum; List <Note> notesToDisplay = addRandomNote(answer.GetMixedAnswer(), maxAddUsdNum, maxAddReilsNum); for (int i = 0; i < notesToDisplay.Count; i++) { createNote(notesToDisplay[i]); } }