aboutsummaryrefslogtreecommitdiff
path: root/MusicalElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'MusicalElement.java')
-rw-r--r--MusicalElement.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/MusicalElement.java b/MusicalElement.java
index 5c24641..26c3808 100644
--- a/MusicalElement.java
+++ b/MusicalElement.java
@@ -1,10 +1,12 @@
+import java.io.Serializable;
+
/** The MusicalElement contains the base of songs and audibooks.
* It is the abstract class they will take.
* We use the classical get and set here.
* Get is used to return the said value.
* Set is used to modify the later.*/
-class MusicalElement {
+class MusicalElement implements Serializable {
//Our vars
private int id, duration;