Instantiated the star as an object to be collected in the game.