diff --git a/src/sample/ThoughtManager.java b/src/sample/ThoughtManager.java index 8a1927df7783c16c419d140b7ff0e5f03b8c853a..392b6ee6c0b45e1db3854c1716bcb2b88eeb484b 100644 --- a/src/sample/ThoughtManager.java +++ b/src/sample/ThoughtManager.java @@ -48,6 +48,9 @@ public class ThoughtManager { this.text += thought.getThought() + "\n"; } - - + void hurl() + { + this.text = ""; + this.thoughts.clear(); + } }