Example #1
0
        public static void Initialise()
        {
            s_transform    = new Transform();
            Backpackers[0] = new Backpacker(TextureLibrary.GetSpriteSheet("backpacker_0", 1, 8), 0);
            Backpackers[1] = new Backpacker(TextureLibrary.GetSpriteSheet("backpacker_1", 1, 8), 1);
            Backpackers[2] = new Backpacker(TextureLibrary.GetSpriteSheet("backpacker_2", 1, 8), 2);

            for (int i = 0; i < Backpackers.Length; ++i)
            {
                World.DL_Backpackers.Add(Backpackers[i], 0);
                World.UL_Global.Add(Backpackers[i], 0);
            }

            InitialiseMovingOutAnimation();
        }
        public static void Initialise()
        {
            s_transform = new Transform();
            Backpackers[0] = new Backpacker(TextureLibrary.GetSpriteSheet("backpacker_0", 1, 8), 0);
            Backpackers[1] = new Backpacker(TextureLibrary.GetSpriteSheet("backpacker_1", 1, 8), 1);
            Backpackers[2] = new Backpacker(TextureLibrary.GetSpriteSheet("backpacker_2", 1, 8), 2);

            for (int i = 0; i < Backpackers.Length; ++i)
            {
                World.DL_Backpackers.Add(Backpackers[i], 0);
                World.UL_Global.Add(Backpackers[i], 0);
            }

            InitialiseMovingOutAnimation();
        }