From 8ae2ea1ed3bab80692758a02f2e6946d7edcd8a0 Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 5 Nov 2025 23:07:55 +0100 Subject: [PATCH] Fix typo in Chapter 8: game1.cs --- .../building_2d_games/08_the_sprite_class/snippets/game1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/tutorials/building_2d_games/08_the_sprite_class/snippets/game1.cs b/articles/tutorials/building_2d_games/08_the_sprite_class/snippets/game1.cs index 2e919611..293eabd0 100644 --- a/articles/tutorials/building_2d_games/08_the_sprite_class/snippets/game1.cs +++ b/articles/tutorials/building_2d_games/08_the_sprite_class/snippets/game1.cs @@ -59,7 +59,7 @@ protected override void Draw(GameTime gameTime) SpriteBatch.Begin(samplerState: SamplerState.PointClamp); // Draw the slime sprite. - _slime.Draw(SpriteBatch, Vector2.One); + _slime.Draw(SpriteBatch, Vector2.Zero); // Draw the bat sprite 10px to the right of the slime. _bat.Draw(SpriteBatch, new Vector2(_slime.Width + 10, 0)); @@ -69,4 +69,4 @@ protected override void Draw(GameTime gameTime) base.Draw(gameTime); } -} \ No newline at end of file +}