Make getch function local to player class