示例#1
0
        protected override void Initialise()
        {
            //create the draw target.
            drawToScreen = new DrawTargetScreen(this, new Camera2D());

            //create the logo
            this.xenLogo = new Xen.Logo.XenLogo(this);

            //test xenLogo.EffectFinished to determine if the effect has completed.

            //add it to the screen
            this.drawToScreen.Add(xenLogo);
        }
		protected override void Initialise()
		{
			//create the draw target.
			drawToScreen = new DrawTargetScreen(new Camera2D());

			//create the logo
			//it automatically adds itself into the update list and will start processing in the next frame
			this.xenLogo = new Xen.Logo.XenLogo(this.UpdateManager);
			
			//test xenLogo.EffectFinished to determine if the effect has completed.
			
			//add it to the screen
			this.drawToScreen.Add(xenLogo);
		}