EnvironBox class in environs.py

API for EnvironBox class:
Initialization
- EnvironBox ( planetrect )
: planetrect is the rectangle attribute of the planet the box is
attached to.

Construction, adding environs to the box, to be done after initializing
- EnvironBox.addEnviron (number, type, size, race, resources, creature,
politics)
: This follows the same format as used in galaxy.dat
: number is the number of the environ, starting at 1
: type is the type of environ, represented by a single capital letter
: size is the size of the environ, not yet displayed, but to be added
later
: race is not used
: resources is not used
: creature is not used
: politics is not used

Adding a Stack, to be used to add a stack, method determines which
environ
- EnvironBox.addstack ( stack )
: stack is assumed to have the following characteristics
*stack.rect as a pygame.Rect
*stack.pos (possibly to be changed to stack.loc) to be used as the
center/snap
*stack.update() which updates the position to be centered on the above

Updating, checking for correct compression of environs and updating
variables
- EnvironBox.update( stacklist )
:stacklist is a list of the stacks described in the .addstack
documentation

Drawing, draws all components
-EnvironBox.draw ( surface )
: surface to be drawn onto