Search found 1 match
- Fri Dec 07, 2007 2:45 am
- Forum: BitBath
- Topic: Edge running
- Replies: 2
- Views: 19844
Edge running
I'm having some issues. I don't know if it is me or the computer, but here is my problem. my code: destX = (dx * .05) + (r.nextDouble() * (dx * .9)); // choose random destination destY = (dy * .05) + (r.nextDouble() * (dy * .9)); This is suppoessed to keep my units away from the edge of the battle s...