changed allegiance from int to enum in Creature and added code to parse a creature's allegiance