diff options
author | Masfehico <clyhtsuriva@gmail.com> | 2020-12-07 18:26:18 +0100 |
---|---|---|
committer | Masfehico <clyhtsuriva@gmail.com> | 2020-12-07 18:26:18 +0100 |
commit | ec126de053cd1343e0c5778a56ea58045d0e3170 (patch) | |
tree | eef3f4d3dc662028eac14bd5c6411f598a9c6ba1 /AudioBook.java | |
parent | 863d326bd146fb08d9b8c6de03bde0e83f61c74a (diff) |
Big update
Implementing the function to add songs. Cleaning a bit everywhere as
well.
Diffstat (limited to 'AudioBook.java')
-rw-r--r-- | AudioBook.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioBook.java b/AudioBook.java index 6502a32..03c6b0e 100644 --- a/AudioBook.java +++ b/AudioBook.java @@ -1,7 +1,7 @@ public class AudioBook extends MusicalElement { private String author, language, category; - public AudioBook(int id, String title, int duration, String content, String author, Language language, Category category) { - super(id, title, duration, content); + public AudioBook(String title, int duration, String content, String author, Language language, Category category) { + super(title, duration, content); this.author=author; this.language=language.name(); this.category=category.name(); |