player class and room class