Wiki

Clone wiki

RogueSharp / RogueSharp.MapCreation / CaveMapCreationStrategy_1 / README

CaveMapCreationStrategyT Class

The CaveMapCreationStrategy creates a Map of the specified type by using a cellular automata algorithm for creating a cave-like map.

Inheritance Hierarchy

SystemObject
RogueSharp.MapCreationCaveMapCreationStrategyT

Namespace: RogueSharp.MapCreation
Assembly:

Syntax

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

Type Parameters

T

The type of IMap that will be created

The CaveMapCreationStrategyT type exposes the following members.

Constructors

Name Description
CaveMapCreationStrategyT(Int32, Int32, Int32, Int32, Int32) Constructs a new CaveMapCreationStrategy with the specified parameters
CaveMapCreationStrategyT(Int32, Int32, Int32, Int32, Int32, IRandom) Constructs a new CaveMapCreationStrategy 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

Other Resources

Cellular Automata Method from RogueBasin

[6]: 2014-2016 Faron Bracy

Updated