Coding the player's and the background's empty component classes