Changes:
-Created 2 new modules: graphicsConstants ans topGraphics.
-Moved global constants into graphicsConstants.
-Moved common methods from class InfoPane to abstract base class absPane in topGraphics.
-Moved common methods from class PacmanGraphics to abstract base class absPacmanGraphics in topGraphics.
-Moved global method add to topGraphics.
-Removed method lookAhead from class FirstPersonPacmanGraphics because it wasn't referenced anywhere.
Notes:
-Class FirstPersonPacmanGraphics in graphicsDisplay and captureGraphicsDisplay are identical after removing method lookAhead. However, FirstPersonPacmanGraphics is tightly coupled with the PacmanGraphics class in their respective files. I couldn't figure out how to remove redundancy for this class.
-Moved some imports to topGraphics and out of graphicsDisplay and captureGraphicsDisplay.
-Changed the style of some lines to pass the pep8 style checker.
Changes: -Created 2 new modules: graphicsConstants ans topGraphics. -Moved global constants into graphicsConstants. -Moved common methods from class InfoPane to abstract base class absPane in topGraphics. -Moved common methods from class PacmanGraphics to abstract base class absPacmanGraphics in topGraphics. -Moved global method add to topGraphics. -Removed method lookAhead from class FirstPersonPacmanGraphics because it wasn't referenced anywhere.
Notes: -Class FirstPersonPacmanGraphics in graphicsDisplay and captureGraphicsDisplay are identical after removing method lookAhead. However, FirstPersonPacmanGraphics is tightly coupled with the PacmanGraphics class in their respective files. I couldn't figure out how to remove redundancy for this class. -Moved some imports to topGraphics and out of graphicsDisplay and captureGraphicsDisplay. -Changed the style of some lines to pass the pep8 style checker.