Jumpvalley 0.5.0
An app and library that can be used to test and run 3D platformer levels. Currently being made with Godot.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Jumpvalley.Music.SongPackage Class Reference

Represents a folder (such as one on the filesystem) that contains a song and its info metadata. More...

Public Member Functions

 SongPackage (string path)
 Creates a SongPackage instance for a given folder path.
 
Song CreateSongInstance ()
 Creates a new Song instance using the file paths specified in DirPath and AudioPath. The created Song instance will have its info set to this SongPackage's current song info.

 

Public Attributes

SongInfo Info
 The data of the corresponding "info.json" file.
 
string AudioPath
 The file path to the song's audio file.
 
string DirPath
 The directory path of this SongPackage
 

Detailed Description

Represents a folder (such as one on the filesystem) that contains a song and its info metadata.

Constructor & Destructor Documentation

◆ SongPackage()

Jumpvalley.Music.SongPackage.SongPackage ( string path)
inline

Creates a SongPackage instance for a given folder path.

Parameters
pathThe folder path

Member Function Documentation

◆ CreateSongInstance()

Song Jumpvalley.Music.SongPackage.CreateSongInstance ( )
inline

Creates a new Song instance using the file paths specified in DirPath and AudioPath. The created Song instance will have its info set to this SongPackage's current song info.

Returns

The documentation for this class was generated from the following file: