From 3ead6c59596279021f58117645eaf41962341b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 26 Dec 2022 05:55:58 +0100 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 e006c61..d3819e8 100644 --- a/README.md +++ b/README.md @@ -2989,7 +2989,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()): ``` ```python - = .collidepoint((x, y)) # Checks if rectangle contains a point. + = .collidepoint((x, y)) # Checks if rectangle contains the point. = .colliderect() # Checks if two rectangles overlap. = .collidelist() # Returns index of first colliding Rect or -1. = .collidelistall() # Returns indexes of all colliding rectangles. diff --git a/index.html b/index.html index ac1b3f2..5b3c15f 100644 --- a/index.html +++ b/index.html @@ -2437,7 +2437,7 @@ rect = pg.Rect(240, 2 -
<bool> = <Rect>.collidepoint((x, y))            # Checks if rectangle contains a point.
+
<bool> = <Rect>.collidepoint((x, y))            # Checks if rectangle contains the point.
 <bool> = <Rect>.colliderect(<Rect>)             # Checks if two rectangles overlap.
 <int>  = <Rect>.collidelist(<list_of_Rect>)     # Returns index of first colliding Rect or -1.
 <list> = <Rect>.collidelistall(<list_of_Rect>)  # Returns indexes of all colliding rectangles.