From a203df4f80530a235e53419bd44768da1e920360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=81draig=20O=CC=81=20Cinne=CC=81ide?= Date: Tue, 17 Oct 2023 14:54:18 -0700 Subject: [PATCH] tweak readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 90a6e30..abed57d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This requires the programmer to ensure that the path to the node, and its type, If we run SceneGen on this project, our root `Player` type will be extended with typed descriptions of each node. These can then be accessed in a type-safe way: ``` -let sprite = node(.sprite2D_marker2d) +let marker = node(.sprite2D_marker2d) ``` The programmer is no longer responsible for maintaining the types and the paths. This will lead to fewer run-time bugs and crashes, provide helpful code completion suggestions in your IDE, and allow faster iteration cycles.