Class LevelDescriptionMapping<TNode>
Mapping from a generic map description to an integer version in order to improve performance.
Inheritance
System.Object
LevelDescriptionMapping<TNode>
Assembly: Edgar.dll
Syntax
public class LevelDescriptionMapping<TNode> : Object, ILevelDescription<RoomNode<TNode>>
Type Parameters
Constructors
LevelDescriptionMapping(ILevelDescription<TNode>)
Declaration
public LevelDescriptionMapping(ILevelDescription<TNode> levelDescription)
Parameters
Methods
GetGraph()
Declaration
public IGraph<RoomNode<TNode>> GetGraph()
Returns
GetGraphWithoutCorridors()
Declaration
public IGraph<RoomNode<TNode>> GetGraphWithoutCorridors()
Returns
GetMapping()
Declaration
public TwoWayDictionary<TNode, RoomNode<TNode>> GetMapping()
Returns
GetRoomDescription(RoomNode<TNode>)
Declaration
public IRoomDescription GetRoomDescription(RoomNode<TNode> node)
Parameters
Type |
Name |
Description |
RoomNode<TNode> |
node |
|
Returns
GetStageOneGraph()
Declaration
public IGraph<RoomNode<TNode>> GetStageOneGraph()
Returns
Implements