2023-06-07 15:37:53 +03:00
|
|
|
package OOP.Java.lab_6
|
|
|
|
|
|
|
|
import kotlin.time.Duration
|
|
|
|
|
2023-06-10 20:47:59 +03:00
|
|
|
/**
|
|
|
|
* Represents an interlude track.
|
|
|
|
*
|
|
|
|
* @param numberInAlbum The position of the track on the album.
|
|
|
|
* @param trackName The name of the track.
|
|
|
|
* @param feature The featured artist(s) in the track (nullable if no featured artist).
|
|
|
|
* @param duration The [Duration] of the track.
|
|
|
|
*/
|
2023-06-07 15:37:53 +03:00
|
|
|
class Interlude(numberInAlbum: Int, trackName: String, feature: String?, duration: Duration): Track(numberInAlbum, trackName, feature, duration) {
|
|
|
|
override val style = "Interlude"
|
|
|
|
}
|