Skip to content
Snippets Groups Projects
Commit a126ab9e authored by Eirik Martin Danielsen's avatar Eirik Martin Danielsen :speech_balloon:
Browse files

hurl function in thoughtmanager

parent ce7c89d2
Branches 12-action-for-hurling-all-thoughts
No related tags found
No related merge requests found
...@@ -48,6 +48,9 @@ public class ThoughtManager { ...@@ -48,6 +48,9 @@ public class ThoughtManager {
this.text += thought.getThought() + "\n"; this.text += thought.getThought() + "\n";
} }
void hurl()
{
this.text = "";
this.thoughts.clear();
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment