Wiki

Clone wiki

RogueSharp / RogueSharp.MapCreation / RandomRoomsMapCreationStrategy_1 / README

RandomRoomsMapCreationStrategyT Class

The RandomRoomsMapCreationStrategy creates a Map of the specified type by placing rooms randomly and then connecting them with cooridors

Inheritance Hierarchy

SystemObject
RogueSharp.MapCreationRandomRoomsMapCreationStrategyT

Namespace: RogueSharp.MapCreation
Assembly:

Syntax

public class RandomRoomsMapCreationStrategy<T> : IMapCreationStrategy<T>
where T : new(), IMap

Type Parameters

T

The type of IMap that will be created

The RandomRoomsMapCreationStrategyT type exposes the following members.

Constructors

Name Description
RandomRoomsMapCreationStrategyT(Int32, Int32, Int32, Int32, Int32) Constructs a new RandomRoomsMapCreationStrategy with the specified parameters
RandomRoomsMapCreationStrategyT(Int32, Int32, Int32, Int32, Int32, IRandom) Constructs a new RandomRoomsMapCreationStrategy with the specified parameters

Methods

Name Description
CreateMap Creates a new IMap of the specified type.
Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ToString Returns a string that represents the current object. (Inherited from Object.)

See Also

Reference

RogueSharp.MapCreation Namespace

[5]: 2014-2016 Faron Bracy

Updated