Commit graph

13 commits

Author SHA1 Message Date
Patricia Aas
f7b53d9fca Don't use -> 2021-07-06 17:09:42 +02:00
Patricia Aas
30f69464dd Move over to size_t 2021-07-06 12:35:23 +02:00
Corentin Jabot
60095363f4 Put the code in a namespace 2021-07-05 14:10:01 +02:00
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