FS#145 - Implement copy constructors and ToString functions in SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1330 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
bd9a60fef2
commit
dd255a916d
28 changed files with 627 additions and 0 deletions
|
@ -215,6 +215,29 @@ namespace SFML
|
|||
set {sfMusic_SetPlayingOffset(This, value);}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// <summary>
|
||||
/// Provide a string describing the object
|
||||
/// </summary>
|
||||
/// <returns>String description of the object</returns>
|
||||
////////////////////////////////////////////////////////////
|
||||
public override string ToString()
|
||||
{
|
||||
return "[Music]" +
|
||||
" SampleRate = " + SampleRate +
|
||||
" ChannelsCount = " + ChannelsCount +
|
||||
" Status = " + Status +
|
||||
" Duration = " + Duration +
|
||||
" Loop = " + Loop +
|
||||
" Pitch = " + Pitch +
|
||||
" Volume = " + Volume +
|
||||
" Position = " + Position +
|
||||
" RelativeToListener = " + RelativeToListener +
|
||||
" MinDistance = " + MinDistance +
|
||||
" Attenuation = " + Attenuation +
|
||||
" PlayingOffset = " + PlayingOffset;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// <summary>
|
||||
/// Handle the destruction of the object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue