DungeonRenderer

Class in ChivalrousGames.DungeonMaster / Inherits from: MonoBehaviour

Description

Renders the Dungeon as the Dungeon Character travels through it.

Methods

Render
public void Render(Room startingRoom, DungeonRendererMode mode);
Parameters
startingRoom Room The room where the Dungeon Character or camera is located. The epicenter, the dungeon will render around this Room.
mode DungeonRendererMode The rendering mode to use. Is the Dungeon Character inside or outside the Dungeon.
Description

Render the Dungeon based on the specified starting Room. There is usually no need to call this method manually since the Dungeon will call this automatically as the Dungeon Character travels from Room to Room.

Render
public abstract void Render (List startingRooms, DungeonRendererMode mode);
Parameters
startingRooms List<Room> The room where the Dungeon Character or camera(s) are located. The epicenters, the dungeon will render around these Rooms.
mode DungeonRendererMode The rendering mode to use. Is the Dungeon Character inside or outside the Dungeon.
Description

Render the Dungeon based on the specified starting Rooms. There is usually no need to call this method manually since the Dungeon will call this automatically as the Dungeon Character travels from Room to Room.