-
Notifications
You must be signed in to change notification settings - Fork 0
Chapter 3: Collisions
Feluxus edited this page Jul 9, 2024
·
2 revisions
- newly visible classes / methods
- IPTBall
- checkCollisionWithPlayer
- step
- IPTGame
- playerBounds
- IPTBall
- initlial state
- empty
- explain/tips
- add check in step
- playerBounds: returns list of players bounds
- checkCollisionWithPlayer: check for every playerBounds: if it intersects with own bounds, turnHorizontal.
- explain bounds and intersects