public Sign GetSignAtTile(int x, int y) { return(Signs.FirstOrDefault(c => (c.X == x || c.X == x - 1) && (c.Y == y || c.Y == y - 1))); }
public Sign GetSignAtTile(int x, int y) { Vector2Int32 anchor = GetAnchor(x, y); return(Signs.FirstOrDefault(c => (c.X == anchor.X) && (c.Y == anchor.Y))); }
public Sign GetSignAtTile(int x, int y, bool findOrigin = false) { Vector2Int32 anchor = findOrigin ? GetAnchor(x, y) : new Vector2Int32(x, y); return(Signs.FirstOrDefault(c => (c.X == anchor.X) && (c.Y == anchor.Y))); }
public Sign GetSignAtTile(int x, int y, bool findOrigin = false) { return(Signs.FirstOrDefault(c => (c.X == x) && (c.Y == y))); }