Search Results for

    Show / Hide Table of Contents

    Class MapData

    Inheritance
    object
    MapData
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [Serializable]
    public class MapData

    Constructors

    MapData()

    Declaration
    public MapData()

    MapData(Cells2D<MapCellType>, int, int, int, int)

    Declaration
    public MapData(Cells2D<MapCellType> raw, int minX, int maxX, int minY, int maxY)
    Parameters
    Type Name Description
    Cells2D<MapCellType> raw
    int minX
    int maxX
    int minY
    int maxY

    Fields

    area

    Total area of playable area.

    Declaration
    public float area
    Field Value
    Type Description
    float

    cells

    Declaration
    public Cells2D<MapCellType> cells
    Field Value
    Type Description
    Cells2D<MapCellType>

    Properties

    innerPropNodeIndices

    Represents indices of prop placement nodes.
    These nodes are on inner playable area with some distance to a nearest wall.

    Declaration
    public IReadOnlyList<(int, int)> innerPropNodeIndices { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<T><(int, int)>

    outerPropNodeIndices

    Represents indices of prop placement nodes.
    These nodes are on playable area and close to a wall.

    Declaration
    public IReadOnlyList<(int, int)> outerPropNodeIndices { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<T><(int, int)>
    In This Article
    Back to top Shape of Dreams API Documentation