Skip to content

Commit 765d413

Browse files
committed
State to replace contents of game1 in chapter 17
1 parent e765df9 commit 765d413

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/17_scenes

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/17_scenes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Add the following override for the `Draw` method to the `GameScene` class:
294294

295295
### Updating the Game1 Class
296296

297-
With our scene system and scene classes in place, we can now simplify our main `Game1` class to just initialize the game and start with the title scene. Open the *Game1.cs* file and update it to the following:
297+
With our scene system and scene classes in place, we can now simplify our main `Game1` class to just initialize the game and start with the title scene. Open the *Game1.cs* file and replace its entire contents with this simplified implementation:
298298

299299
[!code-csharp[](./snippets/game1.cs)]
300300

0 commit comments

Comments
 (0)