1using System.Collections.Generic;
44 public AI_Goto(
Point _dest,
int dist,
bool _ignoreConnection =
false,
bool _interaction =
false)
52 public AI_Goto(
Card _card,
int dist,
bool _ignoreConnection =
false,
bool _interaction =
false)
73 dest.x = EClass._map.bounds.maxX + 1;
77 dest.x = EClass._map.bounds.x - 1;
81 dest.z = EClass._map.bounds.maxZ + 1;
85 dest.z = EClass._map.bounds.z - 1;
116 shared.
Set(pathFinderNode.
X, pathFinderNode.
Z);
175 public override IEnumerable<Status>
Run()
189 yield
return Status.Running;
196 EClass.player.enemySpotted =
false;
207 EClass.player.enemySpotted =
false;
217 if (num > 3 && num < 20)
override Point GetDestination()
bool IsDestinationReached()
AI_Goto(Card _card, int dist, bool _ignoreConnection=false, bool _interaction=false)
AI_Goto(Point _dest, int dist, bool _ignoreConnection=false, bool _interaction=false)
override bool CancelWhenMoved
override bool InformCancel
override bool CancelWhenDamaged
override bool CanManualCancel()
override IEnumerable< Status > Run()
void SetTurbo(int mtp=-1)
MoveResult TryMove(Point newPoint, bool allowDestroyPath=true)
bool CanInteractTo(Card c)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
void RequestPath(Point _startPoint, Point _destPoint, int _destDist, bool _ignoreConnection, int _searchLimit=-1)
List< PathFinderNode > nodes
void RequestPathImmediate(Point _startPoint, Point _destPoint, int _destDist, bool _ignoreConnection, int _searchLimit=-1)
static Point GetShared(int x, int z)
Point Set(int _x, int _z)
bool Equals(int _x, int _z)