When do these variables get values?
<pre><code>public void DrawLightning(int level, double length) {

double a = (270 + (int)(Math.random() * ((90) + 1)));
double b = (270 + (int)(Math.random() * ((90) + 1)));
double c = (270 + (int)(Math.random() * ((90) + 1)));
double d = (270 + (int)(Math.random() * ((90) + 1)));
double e = (270 + (int)(Math.random() * ((90) + 1)));
double f = (270 + (int)(Math.random() * ((90) + 1)));
double g = (270 + (int)(Math.random() * ((90) + 1)));
double h = (270 + (int)(Math.random() * ((90) + 1)));
double i = (270 + (int)(Math.random() * ((90) + 1)));
double j = (270 + (int)(Math.random() * ((90) + 1)));

if (level == 0) {
    ...
}

else {
    ...
}
}
</code></pre>

<p>So if I were to run this method, when would the Math.random() method kick in and create the variables a through j? I ran this and it seems that variables a through j never seem to have values because the other methods that I use variables a through j for don't function at all.</p>

<p>Thanks.</p>
