Skip to content

"the" #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 24, 2025
Merged

"the" #154

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public Core(string title, int width, int height, bool fullScreen)
// Set the window title
Window.Title = title;

// Set the core's content manager to a reference of hte base Game's
// Set the core's content manager to a reference of the base Game's
// content manager.
Content = base.Content;

Expand All @@ -88,4 +88,4 @@ protected override void Initialize()
// Create the sprite batch instance.
SpriteBatch = new SpriteBatch(GraphicsDevice);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Core(string title, int width, int height, bool fullScreen)
// Set the window title
Window.Title = title;

// Set the core's content manager to a reference of hte base Game's
// Set the core's content manager to a reference of the base Game's
// content manager.
Content = base.Content;

Expand Down Expand Up @@ -116,4 +116,4 @@ protected override void Update(GameTime gameTime)

base.Update(gameTime);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public TextureRegion GetTile(int index)
/// column and row.
/// </summary>
/// <param name="column">The column of the tile in this tilemap.</param>
/// <param name="row">The row of hte tile in this tilemap.</param>
/// <param name="row">The row of the tile in this tilemap.</param>
/// <returns>The texture region of the tile from this tilemap at the specified column and row.</returns>
public TextureRegion GetTile(int column, int row)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Core(string title, int width, int height, bool fullScreen)
// Set the window title
Window.Title = title;

// Set the core's content manager to a reference of hte base Game's
// Set the core's content manager to a reference of the base Game's
// content manager.
Content = base.Content;

Expand Down Expand Up @@ -136,4 +136,4 @@ protected override void Update(GameTime gameTime)

base.Update(gameTime);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public Core(string title, int width, int height, bool fullScreen)
// Set the window title
Window.Title = title;

// Set the core's content manager to a reference of hte base Game's
// Set the core's content manager to a reference of the base Game's
// content manager.
Content = base.Content;

Expand Down Expand Up @@ -203,4 +203,4 @@ private static void TransitionScene()
s_activeScene.Initialize();
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Each button registers a `Click` event handler to respond when the players select

[!code-csharp[](./snippets/titlescene/handlestartclicked.cs)]

When the "Start" button is clicked and this method is called, it will play the UI sound effect for auditory feedback then change the scene tot he game scene so the player can start playing the game.
When the "Start" button is clicked and this method is called, it will play the UI sound effect for auditory feedback then change the scene to the game scene so the player can start playing the game.

Next is the handler for the "Options" button. Add the following method to the `TitleScene` class after the `HandleStartClicked` method:

Expand Down