View Single Post
Old 12-11-2003, 12:12 PM   #5
Spazmatic
Member
 
Join Date: Mar 2003
Posts: 103
Spazmatic is on a distinguished road
You'll still want some sort of "populationType" (probably not that exactly). The reasoning is that, as you said, stuff changes with time... Unless you want to manually set flag change times for each room, it may be easier to simply set what population types are considered, so a simple greedy alg can go through and flop 'em all as appropriate when time passes.

Possibly easier would be a list per room of all "arresting" elements... That way, you could classify criminals, blind men, etc, into one group, and just be stuck with a list for, say, soldiers, private guards, upper class, middle class, and tourists. Simply checking through at each tick if one of these is "active" at that time would give a fair approximation.
Spazmatic is offline   Reply With Quote