/// <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); } }
public FPENoteEntry collectNote() { FPENoteEntry note = null; if (!collected) { collected = true; note = new FPENoteEntry(noteTitle, noteBody); } return(note); }