diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2017-11-13 11:28:10 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2017-11-13 11:28:10 +0100 |
commit | bd7e7336fffaa373365d587e933809239ae4dd47 (patch) | |
tree | 01bfe025f5bba2c456ceb4d7c76a2af1a89f6c09 /Space Invaders/GameEngine | |
parent | 563ea1e795d4d683aca889e72fa5f43f3f612763 (diff) | |
download | Space-Invaders-CS-Console-bd7e7336fffaa373365d587e933809239ae4dd47.tar.gz Space-Invaders-CS-Console-bd7e7336fffaa373365d587e933809239ae4dd47.zip |
[a] Two new monsters
Diffstat (limited to 'Space Invaders/GameEngine')
-rw-r--r-- | Space Invaders/GameEngine/Graphics.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Space Invaders/GameEngine/Graphics.cs b/Space Invaders/GameEngine/Graphics.cs index 1c15199..b27b419 100644 --- a/Space Invaders/GameEngine/Graphics.cs +++ b/Space Invaders/GameEngine/Graphics.cs @@ -33,8 +33,7 @@ namespace GameEngine { public void DrawFrame(Frame newFrame) { /* Method that draws all changes from last frame to the screen */ FrameNum++; - //Console.Clear(); - //Console.SetCursorPosition(0, 0); + for (int y = 0; y < _consoleBuffer.GetLength(0); y++) { for (int x = 0; x < _consoleBuffer.GetLength(1); x++) { |