Exemplo n.º 1
0
    protected List <Loc> getOpenTiles(RogueElements.Rect rect)
    {
        RogueElements.Grid.LocTest checkOp = (Loc loc) =>
        {
            return(!isTileOccupied(loc));
        };

        return(RogueElements.Grid.FindTilesInBox(rect.Start, rect.Size, checkOp));
    }
Exemplo n.º 2
0
 List <Loc> IPlaceableGenContext <StairsDown> .GetFreeTiles(RogueElements.Rect rect)
 {
     return(getOpenTiles(rect));
 }