Wiki

Clone wiki

RogueSharp / RogueSharp.MapCreation / BorderOnlyMapCreationStrategy_1 / README

BorderOnlyMapCreationStrategyT Class

The BorderOnlyMapCreationStrategy creates a Map of the specified type by making an empty map with only the outermost border being solid walls

Inheritance Hierarchy

SystemObject
RogueSharp.MapCreationBorderOnlyMapCreationStrategyT

Namespace: RogueSharp.MapCreation
Assembly:

Syntax

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

Type Parameters

T

The type of IMap that will be created

The BorderOnlyMapCreationStrategyT type exposes the following members.

Constructors

Name Description
BorderOnlyMapCreationStrategyT Constructs a new BorderOnlyMapCreationStrategy with the specified parameters

Methods

Name Description
CreateMap Creates a Map of the specified type by making an empty map with only the outermost border being solid walls
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

[4]: 2014-2016 Faron Bracy

Updated