Example #1
0
    public void Initialize(Vector2Int coord, float fillPercent, RoomData roomData)
    {
        m_Coord       = coord;
        m_FillPercent = roomData.m_FillCurve.Evaluate(fillPercent);

        m_DirectionsList = MazeHelper.GetRandomDirectionsQueue();
        m_RoomData       = roomData;
    }