Ignore:
Timestamp:
2013-07-24 15:02:03 (7 years ago)
Author:
dezhidki
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/Ai/AStar.cs

    r4593 r4635  
    5757        public void InitializePathFinder(int xStart, int zStart, int xEnd, int zEnd, bool ignoreSolidnessForEnd) 
    5858        { 
    59             tiles = level.BuildSolidnessTable(mob, ignoreSolidnessForEnd, xEnd, zEnd); 
     59            tiles = level.BuildSolidnessTable(mob, ignoreSolidnessForEnd); 
    6060            nodeMap = new Node[level.Width * level.Height]; 
    6161            open.Clear(); 
     
    100100                canPathFind = false; 
    101101            } 
     102        } 
     103 
     104        public void ApplySolidnessToPos(List<int> posList) 
     105        { 
     106            foreach (int i in posList) 
     107                tiles[i] = false; 
    102108        } 
    103109 
Note: See TracChangeset for help on using the changeset viewer.