//calls playerDraw for each and every team member of the team which is called
calls playerDraw for each and every team member of the team which is called
// calls playerDraw for each and every team member of the team which is called
func (t *Team) Draw(renderer *sdl.Renderer) {
	playerDraw(&t.GoalKeeper[0], renderer)
	for i := range t.Defence {
		playerDraw(&t.Defence[i], renderer)
	}
	for i := range t.Mid {
		playerDraw(&t.Mid[i], renderer)
	}
	for i := range t.Attack {
		playerDraw(&t.Attack[i], renderer)
	}
}
func ( t * Team ) Draw ( renderer * sdl . Renderer ) { playerDraw ( & t . GoalKeeper [ 0 ] , renderer ) for i := range t . Defence { playerDraw ( & t . Defence [ i ] , renderer ) } for i := range t . Mid { playerDraw ( & t . Mid [ i ] , renderer ) } for i := range t . Attack { playerDraw ( & t . Attack [ i ] , renderer ) } }
calls playerDraw for each and every team member of the team which is called
calls playerDraw for each and every team member of the team which is called