How to Nascar:
Step 1 - Drive around an oval.
Step 2 - Repeat step 1.
In C#:
void Nascar(Car car)
{
int lapsRun = 0;}
do
{
car.Drive(TrackShape.Oval);}
lapsRun++;
while (lapsRun < 500);
|
How to Nascar:
Step 1 - Drive around an oval.
Step 2 - Repeat step 1.
In C#:
void Nascar(Car car)
{
int lapsRun = 0;}
do
{
car.Drive(TrackShape.Oval);}
lapsRun++;
while (lapsRun < 500);
Last edited by Confusingboat; 02-12-2011 at 01:21 AM.
« Previous Thread | Next Thread » |
Tags for this Thread |