- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
-(void) pressed1st
{
if (loopSound)
{
[self stopAllSounds];
}
startLoopSoundS2 = NO;
startLoopSoundS3 = NO;
startLoopSoundS4 = NO;
startLoopSoundS5 = NO;
startLoopSoundS6 = NO;
noteS1_act.alpha = 1;
string1_act.alpha = 1;
noteS1_act.hidden = NO;
string1_act.hidden = NO;
if (!startLoopSoundS1)
{
[delegate playSoundByFret:currentSound.strings[1] onString:1 loop:loopSound];
if (loopSound)
startLoopSoundS1 = YES;
else
[self runAnimationForString:string1_act withNoteView:noteS1_act];
}
else
{
startLoopSoundS1 = NO;
[delegate stopSoundNote:1];
noteS1_act.hidden = YES;
string1_act.hidden = YES;
}
noteS2_act.hidden = YES;
string2_act.hidden = YES;
noteS3_act.hidden = YES;
string3_act.hidden = YES;
noteS4_act.hidden = YES;
string4_act.hidden = YES;
noteS5_act.hidden = YES;
string5_act.hidden = YES;
noteS6_act.hidden = YES;
string6_act.hidden = YES;
}
-(void) pressed2nd
{
if (loopSound)
{
[self stopAllSounds];
}
startLoopSoundS1 = NO;
startLoopSoundS3 = NO;
startLoopSoundS4 = NO;
startLoopSoundS5 = NO;
startLoopSoundS6 = NO;
noteS2_act.alpha = 1;
string2_act.alpha = 1;
noteS2_act.hidden = NO;
string2_act.hidden = NO;
if (!startLoopSoundS2)
{
[delegate playSoundByFret:currentSound.strings[2] onString:2 loop:loopSound];
if (loopSound)
startLoopSoundS2 = YES;
else
[self runAnimationForString:string2_act withNoteView:noteS2_act];
}
else
{
startLoopSoundS2 = NO;
[delegate stopSoundNote:2];
noteS2_act.hidden = YES;
string2_act.hidden = YES;
}
noteS1_act.hidden = YES;
string1_act.hidden = YES;
noteS3_act.hidden = YES;
string3_act.hidden = YES;
noteS4_act.hidden = YES;
string4_act.hidden = YES;
noteS5_act.hidden = YES;
string5_act.hidden = YES;
noteS6_act.hidden = YES;
string6_act.hidden = YES;
}
Всего 6 методов.
Творчество моего любимого автора.
Vindicar 16.10.2012 23:46 # −1
DA, this will work.
QuickNick 17.10.2012 09:36 # +1
Причины этого мне неизвестны.
Lure Of Chaos 17.10.2012 09:48 # +1
BOOL.NO
BOOL.MAYBE
QuickNick 17.10.2012 10:17 # +2
Lure Of Chaos 17.10.2012 10:34 # 0
COW
govnomonad 17.10.2012 13:21 # 0
Steve_Brown 17.10.2012 15:12 # +1
DishesException - gets thrown sometimes for no reason.
wvxvw 17.10.2012 12:40 # 0
Vindicar 17.10.2012 15:42 # +1
жестокий майндфак, граничащий с "приятной отладки"