add Typescript Player prototype