public static void TriggerBlowEnd(MicEventArgs eventArgs = null) {
			if (BlowEnd != null)
				BlowEnd (eventArgs);
		}
	    public static void TriggerSoundCapEnd(MicEventArgs eventArgs = null) {
			if (SoundCapEnd != null)
				SoundCapEnd (eventArgs);                
		}
		public static void TriggerBlowBegin(MicEventArgs eventArgs = null) {
			if (BlowBegin != null)
				BlowBegin (eventArgs);           
		}
	    public static void TriggerSoundCapBegin(MicEventArgs eventArgs = null) {
			if (SoundCapBegin != null)
				SoundCapBegin (eventArgs);           
		}
Esempio n. 5
0
		void OnSoundCapBegin(MicEventArgs eventArgs) {
			if (_listening && eventArgs.OriginID == "wolf") {
				CurrentAnimationState = STATE_AWAKEN;
			}
		}
Esempio n. 6
0
		void OnBlowBegin(MicEventArgs eventArgs) {
			if (CurrentAnimationState == STATE_OPEN_SMALL) {
				CurrentAnimationState = STATE_OPEN_WIDE;
			}
		}
Esempio n. 7
0
		void OnSoundCapBegin(MicEventArgs eventArgs) {
			if (!clicked && firstSentenceDone) {
				TriggerLastSentence (0.5f);
			}
		}
Esempio n. 8
0
		void OnSoundCapBegin(MicEventArgs eventArgs) {
			if (eventArgs.OriginID == "brother" && CurrentAnimationState == STATE_REVEAL) {
				CurrentAnimationState = STATE_BOUNCE_TO_FRONT;
			}
		}