Home
last modified time | relevance | path

Searched refs:CanStayInCell (Results 1 – 7 of 7) sorted by relevance

/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/Move/
H A DMoveWithinRange.cs36 ….CenterPosition) && Mobile.CanInteractWithGroundLayer(self) && Mobile.CanStayInCell(self.Location); in ShouldStop()
42 || !Mobile.CanInteractWithGroundLayer(self) || !Mobile.CanStayInCell(self.Location)); in ShouldRepath()
52 ….Where(c => Mobile.CanStayInCell(c) && AtCorrectRange(map.CenterOfSubCell(c, Mobile.FromSubCell))); in CandidateMovementCells()
H A DMove.cs173 if (IsCanceling && mobile.CanStayInCell(mobile.ToCell)) in Tick()
243 …- destination.Value).LengthSquared <= cellRange * cellRange && mobile.CanStayInCell(mobile.ToCell)) in PopPath()
358 if (path != null && (forceClearPath || mobile.CanStayInCell(mobile.ToCell))) in Cancel()
H A DMoveAdjacentTo.cs82 .Where(c => Mobile.CanStayInCell(c)); in CandidateMovementCells()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/
H A DMobile.cs105 public bool CanStayInCell(World world, CPos cell) in CanStayInCell() method in OpenRA.Mods.Common.Traits.MobileInfo
115 return locomotor.CanStayInCell(cell); in CanStayInCell()
379 if (CanEnterCell(p) && CanStayInCell(p)) in GetAdjacentCell()
523 public bool CanStayInCell(CPos cell) in CanStayInCell() method in OpenRA.Mods.Common.Traits.Mobile
525 return Info.CanStayInCell(self.World, cell); in CanStayInCell()
692 if (!mobile.CanStayInCell(cell)) in Cancel()
774 if (target == self.Location && CanStayInCell(target)) in NearestMoveableCell()
777 if (CanEnterCell(target, check: BlockedByActor.Immovable) && CanStayInCell(target)) in NearestMoveableCell()
781 if (CanEnterCell(tile, check: BlockedByActor.Immovable) && CanStayInCell(tile)) in NearestMoveableCell()
872 if (!Locomotor.CanStayInCell(self.Location)) in INotifyBecomingIdle.OnBecomingIdle()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Activities/
H A DLayMines.cs113 …le.CanEnterCell(c, null, BlockedByActor.Immovable) || (mobile != null && !mobile.CanStayInCell(c))) in CleanMineField()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/
H A DMinelayer.cs241 …nt.CanEnterCell(c, null, BlockedByActor.Immovable) || (mobile != null && !mobile.CanStayInCell(c))) in RenderAboveShroud()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/World/
H A DLocomotor.cs313 public bool CanStayInCell(CPos cell) in CanStayInCell() method in OpenRA.Mods.Common.Traits.Locomotor