More stuff
This commit is contained in:
+8
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user