Пример #1
0
 // Creates {@link PassageMap} based on localMap.
 public void formPassageMap(PassageMap passage)
 {
     this.passage = passage;
     synonyms     = new HashSet <HashSet <byte> >();
     areaMapping  = new Dictionary <byte, byte>();
     initAreaNumbers();
     Debug.Log(synonyms.Count);
     processSynonyms();
     Debug.Log(synonyms.Count);
     applyMapping();
     Debug.Log(synonyms.Count);
 }
Пример #2
0
 private NeighbourPositionStream()
 {
     localMap   = GameModel.localMap;
     passageMap = localMap.passageMap;
 }
Пример #3
0
 public PassageUpdater(LocalMap map, PassageMap passage)
 {
     this.map     = map;
     this.passage = passage;
 }