Advertisement
TankorSmash

Untitled

Aug 16th, 2012
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.57 KB | None | 0 0
  1.             //writer._output.Reverse();
  2.             int y = 400;
  3.             int x = 200;
  4.             int count = 0;
  5.             for (int i = 0; i < writer._output.Count; i++)
  6.             {
  7.                 if (writer._output[i] == "\n")
  8.                 {
  9.                     y += 20;
  10.                     x = 200;
  11.                     count = 0;
  12.                 }
  13.                 spriteBatch.DrawString(defaultFont, writer._output[i], new Vector2((200 + (12 * count)),  y), Color.White);
  14.                 count++;
  15.             }
  16.             //writer._output.Reverse();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement