Edit player class, update maingame gamestate