Pac-Man in JavaFX