jurlaub/StarsCoreEngine — pull request #34 by mikeford1 (2014-12-30 01:09:35+00:00)
Title: mostly thoughts on player & universe ID's

I was wondering how to have fleets know who their owners are and how they can check their owner's diplomatic stances, so have had a go at creating a global dict containing the IDs, putting the universe and player IDs but with a way to distinguish between them, and some functions to ensure that the keys aren't reused. I'm not sure how it would interact with the game.py tmpDicts that hold the "playerX" key dicts as these only exist within the Game class scope