Changed player from class to struct