C# Class BlottoBeats.Library.SongData.SongParameters

Exibir arquivo Open project: Zwolf11/BlottoBeats Class Usage Examples

Public Methods

Method Description
SongParameters ( int ID, int score, int seed, int tempo, string genre, int userID ) : System

Constructs a SongParameters object with the given data

SongParameters ( int seed, int tempo, string genre ) : System

Creates a new SongParameters object with a default ID of -1 and a score of 0

SongParameters ( int seed, int tempo, string genre, int userID ) : System

Creates a new SongParameters object with a default ID of -1 and a score of 0

Method Details

SongParameters() public method

Constructs a SongParameters object with the given data
public SongParameters ( int ID, int score, int seed, int tempo, string genre, int userID ) : System
ID int ID of the song
score int Score of the song
seed int Seed of the song
tempo int Tempo of the song
genre string Genre of the song
userID int
return System

SongParameters() public method

Creates a new SongParameters object with a default ID of -1 and a score of 0
public SongParameters ( int seed, int tempo, string genre ) : System
seed int Seed of the song
tempo int Tempo of the song
genre string Genre of the song
return System

SongParameters() public method

Creates a new SongParameters object with a default ID of -1 and a score of 0
public SongParameters ( int seed, int tempo, string genre, int userID ) : System
seed int Seed of the song
tempo int Tempo of the song
genre string Genre of the song
userID int UserID of the owner
return System