Exemplo n.º 1
0
        public void ActivateBottomSpike() //This activates a bottom spike when called.
        {
            Spike spike2 = new Spike(Height, Width);

            Spikes.Add(spike2);
            Controls.Add(spike2);
            Spikes[Spikes.Count - 1].BottomSpike();
        }
Exemplo n.º 2
0
        public void ActivateTopSpike() //This activates a top spike when called.
        {
            Spike spike1 = new Spike(Height, Width);

            Spikes.Add(spike1);
            Controls.Add(spike1);
            Spikes[Spikes.Count - 1].TopSpike();
        }