Adventure at Umalu  22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
 All Classes Functions Variables Pages
Public Member Functions | List of all members
jade.gen.feature.Sprinkler.SprinklerPart Interface Reference

Public Member Functions

boolean decide (Dice dice, int x, int y)
 
Actor getActor (Dice dice, int x, int y)
 

Detailed Description

Used by

to determine where

Actor

s should be placed and to generate those

Actor

s.

Member Function Documentation

boolean jade.gen.feature.Sprinkler.SprinklerPart.decide ( Dice  dice,
int  x,
int  y 
)

Returns true if an

Actor

should be placed at the specified location

Parameters
dicethe
Dice
to be used in making the decision
xthe x value of the location being queried
ythe y value of the location being queried
Returns
true if an
Actor
should be placed at the specified location
Actor jade.gen.feature.Sprinkler.SprinklerPart.getActor ( Dice  dice,
int  x,
int  y 
)

Returns the

Actor

that should be placed at the specified location, provide that a call to decided with the same parameters returned true.

Parameters
dicethe
Dice
to be used in generating the
Actor
xthe x value of the location being queried
ythe y value of the location being queried
Returns
the
Actor
that should be placed at the specified location

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