move speedFromMode() into a Ghost method and a Pacman method ; make Pacman and Ghost use their _speed property instead of directly a macro
Pacman now uses new _remainingtime and _remainingmovement properties to handle movement and elapsed time, and stops sending a movement parameter to some functions
add a test at the beginning of the moveXXX() methods, making them return if the remainingmovement is <= 0
Fix syntax errors
create and now use Pacman.teleportToAssociatedPortal(maze, status)