C# Class ACR_Quest.RandomDungeon

Show file Open project: ALandFarAway/ALFA-Base-Resources Class Usage Examples

Public Properties

Property Type Description
AreasOfDungeon List
CR int
SpawnType string
retLoc NWScript.NWScriptEngineStructure2

Public Methods

Method Description
CorrectDungeonCR ( ) : void
DisposeDungeon ( CLRScriptBase script ) : void
GetAdjacentArea ( CLRScriptBase script, ExitDirection exit, RandomDungeonArea CurrentArea ) : RandomDungeonArea
GetCurrentArea ( CLRScriptBase script ) : RandomDungeonArea
GetEndArea ( ) : RandomDungeonArea
GetEntranceArea ( ) : RandomDungeonArea
RandomDungeon ( string areaPrefix, int areasToGenerate, int cr, string name, CLRScriptBase script ) : ALFA.Shared

Private Methods

Method Description
_buildBorders ( bool>.Dictionary necessaryBorders, RandomDungeonArea>.Dictionary adjacentToBe, RandomDungeonArea toAdd ) : void
_sealBorders ( bool>.Dictionary necessaryBorders ) : void
_setAreaCoordinates ( RandomDungeonArea toExpand, RandomDungeonArea toAdd, ExitDirection exit ) : void
getSingleExitArea ( ExitDirection exit, string prefix ) : RandomDungeonArea

Method Details

CorrectDungeonCR() public method

public CorrectDungeonCR ( ) : void
return void

DisposeDungeon() public method

public DisposeDungeon ( CLRScriptBase script ) : void
script CLRScriptFramework.CLRScriptBase
return void

GetAdjacentArea() public method

public GetAdjacentArea ( CLRScriptBase script, ExitDirection exit, RandomDungeonArea CurrentArea ) : RandomDungeonArea
script CLRScriptFramework.CLRScriptBase
exit ExitDirection
CurrentArea RandomDungeonArea
return RandomDungeonArea

GetCurrentArea() public method

public GetCurrentArea ( CLRScriptBase script ) : RandomDungeonArea
script CLRScriptFramework.CLRScriptBase
return RandomDungeonArea

GetEndArea() public method

public GetEndArea ( ) : RandomDungeonArea
return RandomDungeonArea

GetEntranceArea() public method

public GetEntranceArea ( ) : RandomDungeonArea
return RandomDungeonArea

RandomDungeon() public method

public RandomDungeon ( string areaPrefix, int areasToGenerate, int cr, string name, CLRScriptBase script ) : ALFA.Shared
areaPrefix string
areasToGenerate int
cr int
name string
script CLRScriptFramework.CLRScriptBase
return ALFA.Shared

Property Details

AreasOfDungeon public property

public List AreasOfDungeon
return List

CR public property

public int CR
return int

SpawnType public property

public string SpawnType
return string

retLoc public property

public NWScriptEngineStructure2,NWScript retLoc
return NWScript.NWScriptEngineStructure2