Adventure at Umalu  22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
 All Classes Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
jade.gen.feature.Fence Class Reference
Inheritance diagram for jade.gen.feature.Fence:
jade.gen.feature.FeatureGenerator jade.gen.Generator

Public Member Functions

 Fence (Generator chained)
 
- Public Member Functions inherited from jade.gen.feature.FeatureGenerator
 FeatureGenerator (Generator chained)
 
- Public Member Functions inherited from jade.gen.Generator
 Generator ()
 
 Generator (Generator chained)
 
final void generate (World world, Dice dice)
 
final void generate (World world)
 

Protected Member Functions

void generateStep (World world, Dice dice)
 

Detailed Description

Places a fence around a map. This is almost always a good idea as it will prevent line of sight calculations and

Actor

placement from happening outside the bounds of the

World

.

Constructor & Destructor Documentation

jade.gen.feature.Fence.Fence ( Generator  chained)

Generates a new instance of Fence, the the specified chained

.

Parameters
chainedthe chained

Member Function Documentation

void jade.gen.feature.Fence.generateStep ( World  world,
Dice  dice 
)
protectedvirtual

Performs the generation step of the

.

Parameters
worldthe
World
on which the generation algorithm is being performed on
dicethe
Dice
to be used for random number generation during map generation

Implements jade.gen.Generator.


The documentation for this class was generated from the following file: