|
-
Jul 26th, 2006, 08:26 PM
#7
Re: [2005] Go at random
Another alternative would be to use a single Timer object, probably with a smaller Interval. You could then use the Random object to choose a period to wait before the next attack and also to choose a random index. That random index would then be used to get an enemy from an array or collection, who would then attack.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|