Esempio n. 1
0
 /// <summary>
 /// Adds a note entry to the inventory
 /// </summary>
 /// <param name="note">The note entry to add</param>
 public void addNoteEntry(FPENoteEntry note)
 {
     if (note != null)
     {
         notes.Add(note);
     }
 }
Esempio n. 2
0
        public FPENoteEntry collectNote()
        {
            FPENoteEntry note = null;

            if (!collected)
            {
                collected = true;
                note      = new FPENoteEntry(noteTitle, noteBody);
            }

            return(note);
        }