gamepanel constructor i tink