Static Members?


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

Posted by Tyler Woods on April 15, 2001 at 17:58:25:

If we decided to store a pointer in each creature to its ecosystem, could this be a static pointer? I assume we aren't running simulations on multiple ecosystems (at least not for this project) and I was thinking that it would simplify the interface (not having to pass a pointer to the ecosystem object each time we make a new creature). I could work a way around this if I really wanted to but I was just curious if we could do it that way. Besides, a creature isn't "assigned" an ecosystem, he's born with it already there.... right? Just my thoughts and questions.

Tyler


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 ]