Exemplo n.º 1
0
        public SplitterSystem(Vector2 startPosition)
        {
            splitterParticles = new SplitterParticle[MaxParticles];

            for (int i = 0; i < MaxParticles; i++)
            {
                splitterParticles[i] = new SplitterParticle(i, startPosition); //seed i och startposition vector2
            }
        }
Exemplo n.º 2
0
        public SplitterSystem(Vector2 startPosition)
        {
            particles = new SplitterParticle[MAX_AMOUNT_PARTICLES];

            for (int i = 0; i < MAX_AMOUNT_PARTICLES; i++)
            {
                particles[i] = new SplitterParticle(i,startPosition);
            }
        }