What steps will reproduce the problem?
1. Import gameemap.py (attached)
2. Look at the resulting UML for class _GameMapsManager
3. Look particularly at the attribute 'relations'
What is the expected output? What do you see instead?
Expect association pointer line FROM class _GameMapsManager TO class
BigRelationshipManager1 but none exists.
Code seems clear enough, though these are CLASS ATTRIBUTES not instance
attributes, which is what the problem probably is.
class _GameMapsManager(object): # <<friend>>
"""
Just call _GameMapsManager() any time you want a reference to
the _GameMapsManager - you will get the same instance all the time.
"""
relations = BigRelationshipManager1()
## relations = relationshipManager()
gamemaps = []
quadrantsBucket = {}
scenario = None
Original issue reported on code.google.com by abu...@gmail.com on 15 Jul 2012 at 1:56
Original issue reported on code.google.com by
abu...@gmail.com
on 15 Jul 2012 at 1:56Attachments: