Pacman-esque game in c# raylib. Help with optimisation/collision - C#