project_files/HedgewarsMobile/Classes/HogButtonView.m
changeset 3948 24daa33a3114
parent 3926 668b71f31e51
equal deleted inserted replaced
3947:709fdb89f76c 3948:24daa33a3114
    64 
    64 
    65         UIImage *teamHogs = [[[UIImage alloc] init] autorelease];
    65         UIImage *teamHogs = [[[UIImage alloc] init] autorelease];
    66         for (int i = 0; i < numberOfHogs; i++) {
    66         for (int i = 0; i < numberOfHogs; i++) {
    67             teamHogs = [singleHog mergeWith:teamHogs
    67             teamHogs = [singleHog mergeWith:teamHogs
    68                                     atPoint:CGPointMake(8, 0)
    68                                     atPoint:CGPointMake(8, 0)
    69                                      atSize:CGSizeMake(88, 32)];
    69                                      ofSize:CGSizeMake(88, 32)];
    70         }
    70         }
    71         [self setImage:teamHogs forState:UIControlStateNormal];
    71         [self setImage:teamHogs forState:UIControlStateNormal];
    72     }
    72     }
    73 }
    73 }
    74 
    74