refatorando objeto player