From e30d34f2435a6d6dfc89c7cc6948f1dc62a81305 Mon Sep 17 00:00:00 2001 From: Phil Norton Date: Sat, 5 Apr 2025 10:43:17 +0100 Subject: [PATCH] 27: Added delta to the update and draw function descriptions in the setup documentation. --- docs/docs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/index.html b/docs/docs/index.html index c9b2ec4..d21d3fd 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -45,12 +45,12 @@

Getting running

// Use this function to set things up. } -function update() { +function update(delta) { // Called at the end of the game loop. // Use this function to update your game logic. } -function draw() { +function draw(delta) { // Called at the start of the game loop. // Use this function to draw items on the grid. }