Class Index | File Index

Classes


Class ROT.Map.Rogue


Extends ROT.Map.
Dungeon generator which uses the "orginal" Rogue dungeon generation algorithm. See http://kuoi.com/~kamikaze/GameDesign/art07_rogue_dungeon.php
Defined in: <rot.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
ROT.Map.Rogue(width, height, options)
Method Summary
Method Attributes Method Name and Description
 
create(callback)
Class Detail
ROT.Map.Rogue(width, height, options)

Author: hyakugei.
Parameters:
{int} width Optional, Default: ROT.DEFAULT_WIDTH
{int} height Optional, Default: ROT.DEFAULT_HEIGHT
{object} options Optional
Options
{int[]} options.cellWidth Optional, Default: 3
Number of cells to create on the horizontal (number of rooms horizontally)
{int[]} options.cellHeight Optional, Default: 3
Number of cells to create on the vertical (number of rooms vertically)
{int} options.roomWidth Optional
Room min and max width - normally set auto-magically via the constructor.
{int} options.roomHeight Optional
Room min and max height - normally set auto-magically via the constructor.
Method Detail
create(callback)
Parameters:
callback
See:
ROT.Map#create

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jun 13 2016 11:14:41 GMT+0200 (CEST)