View Single Post
  #6 (permalink)  
Old 01-08-2008, 12:45 PM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 334
tim is on a distinguished road
Quote:
Originally Posted by BlitzA View Post
ok sure, that would be good, at least so that I can see how it should be done.

What is wrong with the way I am trying to do it, it is moving and almost works, have you tried my code out?

I'm new to java and haven't done threads or created buffers, but it would be good to see this anyway.

Cheers.
Okay, I'll make an example for you.

I like to use buffers and threads because they improve performance. I'll use them in my example, then you can learn from it. These tools also simplify programming. If you use threading, it is unnecessary to create a pause() method. Looks like hardwired also used threading. I'll document my code for you.

I'll post soon.
__________________
If your ship has not come in yet then build a lighthouse.
Reply With Quote