cleanup
This commit is contained in:
+3
-3
@@ -88,9 +88,9 @@ public partial class EnemyController : TurnController
|
||||
public void HandleEnemyClick(Enemy ENEMY)
|
||||
{
|
||||
GD.Print(ENEMY._address, _playArea._map._astar.IsPointSolid(ENEMY._address));
|
||||
if (ENEMY._speedRemaining <= 0){
|
||||
return;
|
||||
}
|
||||
// if (ENEMY._speedRemaining <= 0){
|
||||
// return;
|
||||
// }
|
||||
TileMapLayer pathLayer = _playArea.GetNode<TileMapLayer>("PathLayer");
|
||||
Vector2I goal = GetBestGoal(ENEMY, new(ENEMY._address.X, Math.Max(ENEMY._address.Y - ENEMY._visibilityRange, _playArea._map._minY)));
|
||||
if (ENEMY._address == Vector2I.Zero)
|
||||
|
||||
Reference in New Issue
Block a user