1using System.Collections.Generic;
20 public override IEnumerable<Status>
Run()
53 EClass.player.nextMove = Vector2.zero;
59 EClass.player.nextMove = Vector2.zero;
78 EClass.player.nextMove = Vector2.zero;
87 yield
return Status.Running;
108 EClass.player.nextMove = nextMove;
118 EClass.player.nextMove = nextMove;
266 EClass.player.nextMove.x = x;
267 EClass.player.nextMove.y = z;
Point GetFirstStep(Point newPoint, PathManager.MoveType moveType=PathManager.MoveType.Default)
MoveResult TryMove(Point newPoint, bool allowDestroyPath=true)
bool IsEnemyOnPath(Point p, bool cancelAI=true)
override IEnumerable< Status > Run()
static Point lastlastPoint
override bool CancelWhenDamaged
static bool TryMove(int x, int z)
Point Set(int _x, int _z)
bool Equals(int _x, int _z)