From 2961caf207ee8130485c12fb4f4406efd9f11df1 Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Sat, 29 Jan 2022 18:13:12 -0500 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 949b9c3..51f275c 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ func Main() { int screenWidth = 500 int screenHeight = 500 - CPP.Graphics.Init("Title of window", screenWidth, screenHeight) + ZS.Graphics.Init("Title of window", screenWidth, screenHeight) // After graphics are initialized, the main function will not finish. // Instead, Start() will be called a single time, then Update() every frame after that. } @@ -71,13 +71,13 @@ func Start() float rotation = 0 // Sprite object, stores (and loads from file) the texture, location, scale, and rotation - global Sprite exampleSprite = CPP.Graphics.Sprite("./square.png", position, scale, rotation) + global Sprite exampleSprite = ZS.Graphics.Sprite("./square.png", position, scale, rotation) } // Executes each frame func Update() { // Draws the image created in Start(). This is usually at the end of update. - CPP.Graphics.Draw(exampleSprite) + ZS.Graphics.Draw(exampleSprite) } ```