1using System.Collections.Generic;
46 public AI_Goto(
Point _dest,
int dist,
bool _ignoreConnection =
false,
bool _interaction =
false)
54 public AI_Goto(
Card _card,
int dist,
bool _ignoreConnection =
false,
bool _interaction =
false)
75 dest.x = EClass._map.bounds.maxX + 1;
79 dest.x = EClass._map.bounds.x - 1;
83 dest.z = EClass._map.bounds.maxZ + 1;
87 dest.z = EClass._map.bounds.z - 1;
118 shared.
Set(pathFinderNode.
X, pathFinderNode.
Z);
134 if (moveResult ==
Card.
MoveResult.Fail || (uint)(moveResult - 2) <= 1u)
177 public override IEnumerable<Status>
Run()
191 yield
return Status.Running;
198 EClass.player.enemySpotted =
false;
209 EClass.player.enemySpotted =
false;
219 if (num > 3 && num < 20)
override Point GetDestination()
bool IsDestinationReached()
AI_Goto(Card _card, int dist, bool _ignoreConnection=false, bool _interaction=false)
override bool ShouldEndMimicry
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)
override 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)