BBGamelib.CCLayerBase.init C# (CSharp) Method

init() protected method

protected init ( ) : void
return void
		protected override void init()
		{
			base.init ();

			Vector2 s = CCDirector.sharedDirector.winSize;
			_anchorPoint = new Vector2 (0.5f, 0.5f);
			this.contentSize = s;
			this.ignoreAnchorPointForPosition = true;

			_touchEnabled = false;
			_touchPriority = 0;
			_touchMode = kCCTouchesMode.AllAtOnce;
			_touchSwallow = true;
//			_accelerometerEnabled = NO;
		}