BBGamelib.CCDirector.pause C# (CSharp) Method

pause() public method

public pause ( ) : void
return void
		public void pause(){
			if (_isPaused)
				return;
			_oldAnimationInterval = _animationInterval;
			
			// when paused, don't consume CPU
			this.animationInterval=1/4.0f;
			
//			[self willChangeValueForKey:@"isPaused"];
			_isPaused = true;
//			[self didChangeValueForKey:@"isPaused"];
		}