Added drawing function to player.