More stuff

This commit is contained in:
Torben Pi Jensen
2023-11-09 22:12:28 +01:00
parent a11237f70d
commit 4d3834be1d
6 changed files with 36 additions and 14 deletions
+8 -2
View File
@@ -10,8 +10,14 @@ export class Song {
}
}
export class PlayingSong extends Song {
constructor(type: SongType, title: string, songId: string, image: string, public length: number, public position: number) {
export class QueuedSong extends Song {
constructor(type: SongType, title: string, songId: string, image: string, public listener: string) {
super(type, title, songId, image);
}
}
export class PlayingSong extends QueuedSong {
constructor(type: SongType, title: string, songId: string, image: string, listener: string, public length: number, public position: number) {
super(type, title, songId, image, listener);
}
}