Wiki

Clone wiki

RogueSharp / RogueSharp.MapCreation / RandomRoomsMapCreationStrategy_1 / _ctor_1

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

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,
    IRandom random
)

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

random

Type: RogueSharp.RandomIRandom
A class implementing IRandom that will be used to generate pseudo-random numbers necessary to create the Map

See Also

Reference

RandomRoomsMapCreationStrategyT Class
RogueSharp.MapCreation Namespace

[4]: 2014-2016 Faron Bracy

Updated