## Creature Project ## CSC323: Group 1: Nora, Terian, Josh, and Jordan ## 4/7/10 ## creature.py: A class governing the creation and modification of creatures. from species import Species class Creature: """Creatures, of a particular species, which inhabit the LocalWorld""" def __init__(self, spec): """Set the species as spec""" self.spec = Species(spec) def setSpec(self, diffSpecies): """Set the Creature's species to a given type.""" self.spec = diffSpecies def __str__(self): """Returns a string of the creature""" return self.spec.__str__()