Example #1
0
    void InstallInfluenceMap(InfluenceMapControl im, int idx)
    {
        im._bottomLeft = bottomLeft;
        im._upperRight = upperRight;
        im._gridSize   = gridSize;

        im._decay           = lowLevelMaps[idx].decay;
        im._momentum        = lowLevelMaps[idx].momentum;
        im._updateFrequency = lowLevelMaps[idx].updateFreq;

        im.StartWork();
    }