http://members.optusnet.com.au/ksaho/Algorithm/JAVA/prototypes/test.zip
I keep getting that silly error.
I have successfully made a threaded app here:
http://members.optusnet.com.au/ksaho/Algorithm/JAVA/thread.java
I'm not doing anything different in my prototype game than in that threaded app.
I need to execute the thread in my game until the "enemy" is dead so hence I placed it into a while loop. I don't believe that it the problem though. If I take the "attDef.start();" command out of the loop and somewhere else it screws up. My program freezes.
Why is it playing with me?
DAMN thread.
Thanks
I keep getting that silly error.
I have successfully made a threaded app here:
http://members.optusnet.com.au/ksaho/Algorithm/JAVA/thread.java
I'm not doing anything different in my prototype game than in that threaded app.
I need to execute the thread in my game until the "enemy" is dead so hence I placed it into a while loop. I don't believe that it the problem though. If I take the "attDef.start();" command out of the loop and somewhere else it screws up. My program freezes.
Why is it playing with me?
DAMN thread.
Thanks