Re: Precedence of creatures


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by John Kugelman on April 11, 2001 at 19:49:08:

In Reply to: Precedance of creatures posted by Geoff Zelenka on April 11, 2001 at 18:53:22:

What is to determine which creatures move first during the systems ticks? Is it by whichever one was created first? Is it alphabetical by name? Is it whichever is closest to the point 0,0 on the grid? Is it up to us how this works (I hope not, because we will get very mixed results on demos with this)?

From the specification, under the tick command:

This causes the simulation clock to tick the specified number of times. On each tick of the simulation clock, each creature in the ecosystem is notified of a tick. Plants should be updated first, then other creatures. Within each of those categories (plant and other), the notifications should be done in the order the creatures were created.

So there you are, your first guess was right.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]