Improved the string format used in ToString() functions

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1361 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-01-17 10:03:46 +00:00
parent 8577dbd56d
commit 8ba9495c02
21 changed files with 133 additions and 133 deletions

View file

@ -381,14 +381,14 @@ namespace SFML
public override string ToString()
{
return "[Shape]" +
" Position = " + Position +
" Rotation = " + Rotation +
" Scale = " + Scale +
" Origin = " + Origin +
" Color = " + Color +
" BlendMode = " + BlendMode +
" OutlineWidth = " + OutlineWidth +
" NbPoints = " + NbPoints;
" Position(" + Position + ")" +
" Rotation(" + Rotation + ")" +
" Scale(" + Scale + ")" +
" Origin(" + Origin + ")" +
" Color(" + Color + ")" +
" BlendMode(" + BlendMode + ")" +
" OutlineWidth(" + OutlineWidth + ")" +
" NbPoints(" + NbPoints + ")";
}
////////////////////////////////////////////////////////////