added methods to GameEngine for the GUI communication