Ignore:
Timestamp:
2013-07-23 19:11:27 (6 years ago)
Author:
dezhidki
Message:

Puut lisätty, woodcutter toimii.

File:
1 edited

Legend:

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

    r4581 r4590  
    5555        } 
    5656 
    57         public void InitializePathFinder(int xStart, int zStart, int xEnd, int zEnd) 
    58         { 
    59             tiles = level.BuildSolidnessTable(mob); 
     57        public void InitializePathFinder(int xStart, int zStart, int xEnd, int zEnd, bool ignoreSolidnessForEnd) 
     58        { 
     59            tiles = level.BuildSolidnessTable(mob, ignoreSolidnessForEnd, xEnd, zEnd); 
    6060            nodeMap = new Node[level.Width * level.Height]; 
    6161            open.Clear(); 
Note: See TracChangeset for help on using the changeset viewer.