Adding getPing() method into Player interface