Ejemplo n.º 1
0
        public static Trainer TrainerTest()
        {
            Trainer trainer = new Trainer()
            {
                Name = "Bob Saget",
                Gender = 'M',
                Money =  500,
                Position = new Vector2(0f, 0f),
                Location = "San Fran",
            };

            trainer.Critters = new Critter [1] ;
            trainer.Critters[0] = Critter.CritterTest();

            //get bitmap

            //trainer.texture = TextureCache.gamePad;

            return trainer;
        }
Ejemplo n.º 2
0
        public void GameScreenInitialized(Game1 game)
        {
            //when the game screen is initalized
            this.screenObjs.Add("GamePad", GetMovePad());
            this.screenObjs.Add("ButtonA", GetButtonA());

            trainer = Trainer.TrainerTest();
        }