示例#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);
     }
 }
示例#2
0
        public FPENoteEntry collectNote()
        {
            FPENoteEntry note = null;

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

            return(note);
        }