GameWindow class(working)