David Villa has not resigned himself to playing a small role in Brazil has his Spanish side attempt to defend the World Cup.

The striker confirmed last week that he has signed for Major League Soccer side New York City, while also agreeing a short-term loan move to Melbourne City in Australia.

That left the impression that the striker - who helped Atletico Madrid to win the Spanish title last season - would not figure prominently for his country at the finals, having taken his career to inauspicious leagues.

Villa, though seemed almost to respond to that in a friendly with against El Salvador, the striker scoring twice and affirming that he retains the predatory instinct with which he has become Spain's leading goalscorer.

He took to the pitch as a substitute and, while Villa is not certain if he will be given a starting berth in this World Cup, the experienced Spaniard does not believe that his time has past. Pedro, Fernando Torres and erstwhile Atletico team-mate Diego Costa are the other strikers in the Spain squad.

"I don't know whether I will be a starter but I will work with that aim," said Villa. "I am happy with the two goals and another victory. It is a good test to play in these conditions with the heat and the problems you have to overcome."