Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52f59e6

Browse files
committed
Pygame
1 parent afe1fb5 commit 52f59e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()):
29572957
```python
29582958
<Surf>.fill(color) # Fills the whole surface.
29592959
<Surf>.set_at((x, y), color) # Updates pixel.
2960-
<Surf>.blit(<Surface>, (x, y)) # Draws passed surface to the surface.
2960+
<Surf>.blit(<Surf>, (x, y)) # Draws passed surface to the surface.
29612961
```
29622962

29632963
```python

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2529,7 +2529,7 @@
25292529

25302530
<pre><code class="python language-python hljs">&lt;Surf&gt;.fill(color) <span class="hljs-comment"># Fills the whole surface.</span>
25312531
&lt;Surf&gt;.set_at((x, y), color) <span class="hljs-comment"># Updates pixel.</span>
2532-
&lt;Surf&gt;.blit(&lt;Surface&gt;, (x, y)) <span class="hljs-comment"># Draws passed surface to the surface.</span>
2532+
&lt;Surf&gt;.blit(&lt;Surf&gt;, (x, y)) <span class="hljs-comment"># Draws passed surface to the surface.</span>
25332533
</code></pre>
25342534
<pre><code class="python language-python hljs">&lt;Surf&gt; = pg.transform.scale(&lt;Surf&gt;, (width, height))
25352535
&lt;Surf&gt; = pg.transform.rotate(&lt;Surf&gt;, degrees)

0 commit comments

Comments
 (0)