diff --git a/README.md b/README.md index 85276ab..662cca5 100644 --- a/README.md +++ b/README.md @@ -121,13 +121,13 @@ The [NetAF.Imaging](https://github.com/benpollarduk/NetAF.Imaging) extension pac ![image](https://github.com/user-attachments/assets/68714a47-21c6-4661-ba8f-cd089750f8ed) -This only requires a few simple steps. Here is a simple room that contains a command to look at the view. The *GridVisualBuilderHelper* from [NetAF.Imaging](https://github.com/benpollarduk/NetAF.Imaging) takes care of generating the visual. +This only requires a few simple steps. Here is a simple room that contains a command to look at the view. The *VisualHelper* from [NetAF.Imaging](https://github.com/benpollarduk/NetAF.Imaging) takes care of generating the visual. ```csharp return new Room("Hillside", "A wild hillside with a lone tree", commands: [ new CustomCommand(new CommandHelp("Look at view", "Look at the current view."), true, true, (game, args) => { - var frame = new GridVisualFrame(GridVisualBuilderHelper.FromImage(imagePath, game.Configuration.DisplaySize, new CellSize(8, 12))); + var frame = new GridVisualFrame(VisualHelper.FromImage(imagePath, game.Configuration.DisplaySize, new CellSize(8, 12))); game.ChangeMode(new VisualMode(frame)); return new(ReactionResult.GameModeChanged, string.Empty); })