public HexControl(int sizeX, int sizeZ, IMapGenerator generator) { this.sizeX = sizeX; this.sizeZ = sizeZ; tiles = generator.GenerateTiles(sizeX, sizeZ); pathfinder = new Pathfinding(); }