• Post Reply Bookmark Topic Watch Topic
  • New Topic

moving from top to down  RSS feed

 
Rizvan Asgarov
Ranch Hand
Posts: 462
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Henry and others,
I'm happy to return to the forum again after a long time...

I need your help for moving the object (second car - pointed by comment in the code) from top to down in the following code: (may be i stirred something there)


Thanks in advance,

Rizvan
 
Rizvan Asgarov
Ranch Hand
Posts: 462
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, i solved my problem as the following:



(i changed my second car to car2 there)
So how to set (moving) random cars instead of car1 and car2? How to use random method there?

PS: by the way i'm new to java threads.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!