fix - inputManager.update() now takes as parameter GameData via reference