Add getter method for PlayerData object

So you can access this in a different class.