Searched refs:CanStayInCell (Results 1 – 7 of 7) sorted by relevance
36 ….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()
173 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()
82 .Where(c => Mobile.CanStayInCell(c)); in CandidateMovementCells()
105 public bool CanStayInCell(World world, CPos cell) in CanStayInCell() method in OpenRA.Mods.Common.Traits.MobileInfo115 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.Mobile525 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()
113 …le.CanEnterCell(c, null, BlockedByActor.Immovable) || (mobile != null && !mobile.CanStayInCell(c))) in CleanMineField()
241 …nt.CanEnterCell(c, null, BlockedByActor.Immovable) || (mobile != null && !mobile.CanStayInCell(c))) in RenderAboveShroud()
313 public bool CanStayInCell(CPos cell) in CanStayInCell() method in OpenRA.Mods.Common.Traits.Locomotor