Esempio n. 1
0
        public SparkSystem(Vector2 startPosition)
        {
            sparkParticles = new Spark[MaxParticles];

            for (int i = 0; i < MaxParticles; i++)
            {
                sparkParticles[i] = new Spark(i, startPosition);     //seed i och startposition vector2
            }
        }
Esempio n. 2
0
        public SparkSystem(Vector2 startPosition)
        {
            sparkParticles = new Spark[MaxParticles];

                for (int i = 0; i < MaxParticles; i++)
                {
                    sparkParticles[i] = new Spark(i, startPosition); //seed i och startposition vector2
                }
        }