Ejemplo n.º 1
0
        //create the state...
        //Note: this is done before the loading state is displayed.
        public PlayingState(Application application)
        {
            //create the threaded content register
            this.contentRegister = new ThreadedContentRegister(application);

            this.rand = new Random();

            this.spritePosition = new Vector2[SpriteCount];
            this.spriteVelocity = new Vector2[SpriteCount];
        }
Ejemplo n.º 2
0
		//create the state...
		//Note: this is done before the loading state is displayed.
		public PlayingState(Application application)
		{
			//create the threaded content register
			this.contentRegister = new ThreadedContentRegister(application);

			this.rand = new Random();

			this.spritePosition = new Vector2[SpriteCount];
			this.spriteVelocity = new Vector2[SpriteCount];
		}