Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class: Playlist
- Attributes:
- SongAmount (integer)
- PlayLength (float)
- SongLength (hash)
- PlaylistCreator (string)
- PlaylistTitle (string)
- SongPlays (hash)
- Methods:
- AverageSongLength (divides PlayLength by SongAmount)
- AverageSongsPerHour (divides 60 by AverageSongLength)
- AddSong (increases SongAmount, increases PlayLength, modifies SongLength)
- RemoveSong (decreases SongAmount, decreases PlayLength, modifies SongLength)
- ChangePlaylistTitle (modifies PlaylistTitle)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement