metody klasy player