Skip to content

Commit db15d69

Browse files
committed
Update doc/collision_detection.adoc
1 parent 5104b01 commit db15d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/collision_detection.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Collision Detection
44
We already introduced a `isGameOver` function, but it returns always false.
55
The first and only rule for __game over__ in this game is that the game is over when the player collides with any enemy.
66

7-
We program a simple collision detection where we simplify the shape of the enemies to sectors.
7+
We therefore need to write a collision detection. To keep things simple, we
88

99
We assume that the player collides with an enemy if the player's angle is inside the segment of the enemey, if enemy's inner radius is smaller than the player's radius and if the enemy's outer radius is still
1010
larger than the player's radius:

0 commit comments

Comments
 (0)