Commit Graph

10 Commits

Author SHA1 Message Date
Corentin Jabot d166f552f4 Simplify board code 2021-07-05 13:54:54 +02:00
Corentin Jabot e4991ab1dd Rename PositionInt 2021-07-05 11:47:03 +02:00
Corentin Jabot ba515eaca5 Replace floats by doubles 2021-07-05 11:40:10 +02:00
Patricia Aas a62d668ead Simplify Ghost::currentSprite 2021-07-01 14:53:52 +02:00
Corentin Jabot b6d0bad21c Fix mac build (again) 2021-07-01 10:19:46 +02:00
Corentin Jabot a01f93cc90 Fix mac build 2021-07-01 10:19:46 +02:00
Corentin Jabot 5b0e561afc Pacman and ghosts can eat each others 2021-07-01 10:19:46 +02:00
Corentin Jabot 3e84746cee Simplify ghost movement code 2021-07-01 10:19:46 +02:00
Corentin Jabot c2cfb8c734 Implement ghost movement and scatter behavior
Each ghost is trying to reach a point beyond the
corner of the board, which make them run in circle
2021-07-01 10:19:46 +02:00
Corentin Jabot 93186dc8b9 Add ghosts
No movement for now!
2021-06-24 18:33:08 +02:00