Wiki

Clone wiki

RogueSharp / RogueSharp.MapCreation / RandomRoomsMapCreationStrategy_1 / _ctor

RandomRoomsMapCreationStrategyT Constructor (Int32, Int32, Int32, Int32, Int32)

Constructs a new RandomRoomsMapCreationStrategy with the specified parameters

Namespace: RogueSharp.MapCreation
Assembly:

Syntax

public RandomRoomsMapCreationStrategy(
    int width,
    int height,
    int maxRooms,
    int roomMaxSize,
    int roomMinSize
)

Parameters

width

Type: SystemInt32
The width of the Map to be created

height

Type: SystemInt32
The height of the Map to be created

maxRooms

Type: SystemInt32
The maximum number of rooms that will exist in the generated Map

roomMaxSize

Type: SystemInt32
The maximum width and height of each room that will be generated in the Map

roomMinSize

Type: SystemInt32
The minimum width and height of each room that will be generated in the Map

Remarks

Uses DotNetRandom as its RNG

See Also

Reference

RandomRoomsMapCreationStrategyT Class
RogueSharp.MapCreation Namespace

[3]: 2014-2016 Faron Bracy

Updated