Content.Client/GameObjects/EntitySystems/ConstructionSystem.cs
/// <summary>
/// Checks if any construction ghosts are present at the given position
/// </summary>
Checks if any construction ghosts are present at the given position
Checks if any construction ghosts are present at the given position
private bool GhostPresent(EntityCoordinates loc)
        {
            foreach (var ghost in _ghosts)
            {
                if (ghost.Value.Owner.Transform.Coordinates.Equals(loc))
                {
                    return true;
                }
            }
            return false;
        }
private bool GhostPresent ( EntityCoordinates loc ) { foreach ( var ghost in _ghosts ) { if ( ghost . Value . Owner . Transform . Coordinates . Equals ( loc ) ) { return true ; } } return false ; }
Checks if any construction ghosts are present at the given position
Checks if any construction ghosts are present at the given position
loc
EntityCoordinates