merged Player.cs from leon