feat(Structures): basic setup

This commit is contained in:
Snowflake107 2021-06-11 16:20:04 +05:45
parent 1e45ebc54c
commit 5d5fd03997

View file

@ -1 +1,15 @@
export {};
import { Player } from "../Player";
import { Track } from "./Track";
class Playlist {
public readonly player: Player;
public tracks: Track[];
constructor(player: Player, tracks: Track[]) {
this.player = player;
this.tracks = tracks ?? [];
}
}
export { Playlist };