added GameEngine as parameter for GameView