Esempio n. 1
0
 public MapStructManager(IMapStructProvider <TDef> tileMap)
 {
     TileMap       = tileMap;
     _cachedRefMap = new string[tileMap.Width, tileMap.Height];
     _mapStructs   = new Dictionary <string, IMapStructInstance <TDef> >();
 }
 public BaseMapStructInstance(MapStructManager <TDef> manager, IMapStructProvider <TDef> provider, TDef def, int x, int y) : base(provider, manager, def)
 {
     Label   = def.Label;
     XAnchor = x;
     YAnchor = y;
 }