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
Corrected minor errors in EnvironBox

Now executable, though environ spacing needs worked on.
Fixed environ starting locations.
Integrating Environ Functionality

EnvironBox.addstack() now returns the environ number that the unit was
put into.
Each planet now has it's own environment (all currently the same)
Each environment now moves with it's planet.
Moving units gives an error, because the stack class does not have the
properties described in the original API for this class.
Merge branch 'emeth' into merge-emeth

Conflicts:
	Sean's Code/GUI_Stacking_Demo.py
Started reincorporating environs into new GUI, EnvironBox now tracks who is in it
Changed the environ update to not use .pos
Put all of the GUI into a thread class, still troubleshooting
Changed addstack() to dig into the stack.
Revert "Put all of the GUI into a thread class, still troubleshooting"

This reverts commit 9dc601b7670469da664f3834886d4e538e557726.
Revert "Revert "Put all of the GUI into a thread class, still troubleshooting""

This reverts commit 1bdc1966deac8527c5f2245fbdd7bf13f1358ea8.
Revert "Put all of the GUI into a thread class, still troubleshooting"

This reverts commit 9dc601b7670469da664f3834886d4e538e557726.
Revert "Changed addstack() to dig into the stack."

This reverts commit c66473698bdbf4d5bbacb7851478cee5705d5e3e.
Revert "Revert "Changed addstack() to dig into the stack.""

This reverts commit 01c274a8cb5f3d6f3077f0e71011902b8a64632d.
Revert "Revert "Put all of the GUI into a thread class, still troubleshooting""

This reverts commit debb439dd44cfa433d2ffe251e34eb417b173b82.
Revert "Revert "Revert "Put all of the GUI into a thread class, still troubleshooting"""

This reverts commit 34fcbbfe265904af0b0707e59b5d71a2d7952fa0.
Merge pull request #8 from rangera/master

Working GUI with classes and moving environs, environs not accepting units.