Class | Environment |
In: |
lib/zyps.rb
|
Parent: | Object |
environmental_factors | [RW] | An array of EnvironmentalFactor objects that act on any GameObject in the Environment. |
objects | [RW] | An array of GameObject objects that reside in the Environment. |
Allow everything in the environment to interact with each other. Objects are first moved according to their preexisting vectors and the amount of time since the last call. Then each EnvironmentalFactor is allowed to act on each object. Finally, each GameObject with an act() method is allowed to act on every other object.