public void RotateCircuitsAndSpikesNinetyDegrees() { string previousLeftConnection = leftConnection; leftConnection = bottomConnection; bottomConnection = rightConnection; rightConnection = topConnection; topConnection = previousLeftConnection; string previousTopLeftSpikeColor = topLeftSpike.GetSpikeColor(); string previousTopLeftSpikeState = topLeftSpike.GetSpikeState(); topLeftSpike.SetupNewValues(bottomLeftSpike.GetSpikeColor(), bottomLeftSpike.GetSpikeState()); topLeftSpike.SetSpikeImage("topleft"); bottomLeftSpike.SetupNewValues(bottomRightSpike.GetSpikeColor(), bottomRightSpike.GetSpikeState()); bottomLeftSpike.SetSpikeImage("bottomleft"); bottomRightSpike.SetupNewValues(topRightSpike.GetSpikeColor(), topRightSpike.GetSpikeState()); bottomRightSpike.SetSpikeImage("bottomright"); topRightSpike.SetupNewValues(previousTopLeftSpikeColor, previousTopLeftSpikeState); topRightSpike.SetSpikeImage("topright"); }