removed playerstate class