From 226d77a1acb9dffb330a02b6ce09aadccfb9cf53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= <sornjure@gmail.com> Date: Sun, 27 Apr 2025 19:06:06 +0200 Subject: [PATCH] Pygame --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6155e96..b79562d 100644 --- a/README.md +++ b/README.md @@ -3026,7 +3026,7 @@ pg.quit() ``` ```python -<Surf>.fill(color) # Pass tuple or pg.Color('<name/rgb_code>'). +<Surf>.fill(color) # Pass tuple of ints or pg.Color('<name/hex>'). <Surf>.set_at((x, y), color) # Updates pixel. Also <Surf>.get_at((x, y)). <Surf>.blit(<Surf>, (x, y)) # Draws passed surface at specified location. ``` diff --git a/index.html b/index.html index f922aeb..f640964 100644 --- a/index.html +++ b/index.html @@ -2483,7 +2483,7 @@ pg.quit() </code></pre></div> -<pre><code class="python language-python hljs"><Surf>.fill(color) <span class="hljs-comment"># Pass tuple or pg.Color('<name/rgb_code>').</span> +<pre><code class="python language-python hljs"><Surf>.fill(color) <span class="hljs-comment"># Pass tuple of ints or pg.Color('<name/hex>').</span> <Surf>.set_at((x, y), color) <span class="hljs-comment"># Updates pixel. Also <Surf>.get_at((x, y)).</span> <Surf>.blit(<Surf>, (x, y)) <span class="hljs-comment"># Draws passed surface at specified location.</span> </code></pre>