P3D-Legacy/P3D/Resources/Sound/SongContainer.vb

16 lines
424 B
VB.net
Raw Normal View History

' Created because Song.Name is not what it is being set to.
' also because when loading songs from uris, it doesn't calculate its duration
Public Class SongContainer
Public Song As Song
Public Name As String
Public Duration As TimeSpan
Public Sub New(song As Song, name As String, duration As TimeSpan)
Me.Song = song
Me.Name = name
Me.Duration = duration
End Sub
End Class