Example #1
0
        private static void CreateEntities(out Wizard[] wizards, out Sound[] sounds, out Particle[] particles)
        {
            wizards = new Wizard[]
            {
                new Wizard("FireWizard_0"),
                new Wizard("WaterWizard_1")
            };

            sounds = new Sound[] {
                new Sound("EarthQuake_0"),
                new Sound("MachineGun_1"),
                new Sound("MagicBurst_2"),
                new Sound("Waterfall_3")};

            particles = new Particle[]
            {
                new Particle("ExplosionParticle_0"),
                new Particle("LavaParticle_1"),
                new Particle("WaterBubbleParticle_2")
            };
        }
Example #2
0
 public VM(Wizard[] w, Sound[] s, Particle[] p)
 {
     _wizards = w;
     _sounds = s;
     _particles = p;
 }