moved code from main to game class and connected signals to use mouse input with threading