Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
N
O
P
R
S
T
U
A
add(Object, Object)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
Add a new entry to the dynamic API.
APIEntry
- Class in
net.sf.groovydice.plugin
Groovy Dice allows the users to extend and modify the default API by providing plugins.
APIEntry()
- Constructor for class net.sf.groovydice.plugin.
APIEntry
apply(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
Apply this modifier using the given logic closure.
C
compareTo(Object)
- Method in class net.sf.groovydice.
DiceRollingCommand
Compare the sum of this roll to the sum of the given roll.
D
derive(Object, Object)
- Method in class net.sf.groovydice.
DiceRollingCommand
Create a new dice rolling command based on this one.
DiceArithmeticPlugin
- Class in
net.sf.groovydice.plugin.builtin
This plugin enables the use of dice rolling commands within arithmetic expressions.
DiceArithmeticPlugin()
- Constructor for class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
DiceExpressionPlugin
- Class in
net.sf.groovydice.plugin.builtin
This plugin adds support to dice expressions like '1.d6'.
DiceExpressionPlugin()
- Constructor for class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
DiceFilterPlugin
- Class in
net.sf.groovydice.plugin.builtin
This plugin provides a simple way to perform dice filtering.
DiceFilterPlugin()
- Constructor for class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
DiceModifier
- Class in
net.sf.groovydice.plugin.builtin
This class is used to specify a modifier to each die of a dice rolling command.
DiceModifier()
- Constructor for class net.sf.groovydice.plugin.builtin.
DiceModifier
DiceModifierPlugin
- Class in
net.sf.groovydice.plugin.builtin
This plugin provides a way to use modifiers to change the dice of a roll.
DiceModifierPlugin()
- Constructor for class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
DiceRollingCommand
- Class in
net.sf.groovydice
This class provides the basic dice rolling functionality and methods to allow dice rolling commands to be compared and derived.
DiceRollingCommand()
- Constructor for class net.sf.groovydice.
DiceRollingCommand
DiceStatisticsPlugin
- Class in
net.sf.groovydice.plugin.builtin
This plugin provides statistical methods to analyse the dice from a roll.
DiceStatisticsPlugin()
- Constructor for class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
E
equals(Object)
- Method in class net.sf.groovydice.
DiceRollingCommand
Whether the sum of this roll is equals to the sum of the given roll.
G
getAllDice()
- Method in class net.sf.groovydice.
DiceRollingCommand
getApi()
- Method in class net.sf.groovydice.
GroovyDice
getClazz()
- Method in class net.sf.groovydice.plugin.
APIEntry
getCondition()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
getConfig()
- Method in class net.sf.groovydice.
DiceRollingCommand
getConfig()
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
getDynamicMethods()
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
getDynamicMethods()
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
getDynamicMethods()
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
getDynamicMethods()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
getDynamicMethods()
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
getGenerator()
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
getLogic()
- Method in class net.sf.groovydice.plugin.
APIEntry
getMetaClass()
- Method in class net.sf.groovydice.
DiceRollingCommand
getMetaClass()
- Method in class net.sf.groovydice.
GroovyDice
getMetaClass()
- Method in class net.sf.groovydice.plugin.
APIEntry
getMetaClass()
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
getMetaClass()
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
getMetaClass()
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
getMetaClass()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
getMetaClass()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
getMetaClass()
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
getMetaClass()
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
getMetaClass()
- Method in class net.sf.groovydice.plugin.
PluginManager
getMetaClass()
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
getMethods()
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
getModifier()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
getName()
- Method in class net.sf.groovydice.plugin.
APIEntry
getNext()
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
getNumberClasses()
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
Util method to get the list of number classes.
getNumberGenerator()
- Method in class net.sf.groovydice.
GroovyDice
getOnInitialize()
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
getPluginManager()
- Method in class net.sf.groovydice.
GroovyDice
getPluginStack()
- Method in class net.sf.groovydice.plugin.
PluginManager
getProperty(String)
- Method in class net.sf.groovydice.
DiceRollingCommand
getProperty(String)
- Method in class net.sf.groovydice.
GroovyDice
getProperty(String)
- Method in class net.sf.groovydice.plugin.
APIEntry
getProperty(String)
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
getProperty(String)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
getProperty(String)
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
getProperty(String)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
getProperty(String)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
getProperty(String)
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
getProperty(String)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
getProperty(String)
- Method in class net.sf.groovydice.plugin.
PluginManager
getProperty(String)
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
getSides()
- Method in class net.sf.groovydice.
DiceRollingCommand
getView()
- Method in class net.sf.groovydice.
DiceRollingCommand
Get a copy of dice results lists.
GroovyDice
- Class in
net.sf.groovydice
Groovy Dice configuration context.
GroovyDice()
- Constructor for class net.sf.groovydice.
GroovyDice
This constructor register the builtin plugins.
GroovyDiceAPI
- Class in
net.sf.groovydice.plugin
This class is responsible to modify the runtime environment and manage the dynamically added methods in order to enable them to be called from a Groovy expression.
GroovyDiceAPI()
- Constructor for class net.sf.groovydice.plugin.
GroovyDiceAPI
H
hashCode()
- Method in class net.sf.groovydice.
DiceRollingCommand
Simple hashCode method.
I
initialize()
- Method in class net.sf.groovydice.
GroovyDice
Initialize the Groovy Dice engine.
injectAspects()
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
Inject code to enable Groovy's number classes and dice rolling commands to trigger the dynamic API lookup.
invokeMethod(String, Object)
- Method in class net.sf.groovydice.
DiceRollingCommand
invokeMethod(String, Object)
- Method in class net.sf.groovydice.
GroovyDice
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.
APIEntry
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
invokeMethod(String, Object)
- Method in class net.sf.groovydice.plugin.
PluginManager
invokeMethod(String, Object)
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
isCase(Object)
- Method in class net.sf.groovydice.
DiceRollingCommand
Returns whether the given parameter is found in this dice roll.
isCommand(Object)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
Check whether the given object is a dice rolling command.
isNumber(Object)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
Whether the given object is a number.
N
negative()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
Multiply the modifier value by '-1' when the unary '-' operator is used in this object.
net.sf.groovydice
- package net.sf.groovydice
Core classes.
net.sf.groovydice.plugin
- package net.sf.groovydice.plugin
Plug-in architecture.
net.sf.groovydice.plugin.builtin
- package net.sf.groovydice.plugin.builtin
Groovy Dice internal plug-in stack.
O
onInitialize(Object)
- Method in class net.sf.groovydice.plugin.
PluginManager
Triggers the initialization of all registered plugins.
P
PluginManager
- Class in
net.sf.groovydice.plugin
This class is responsible to manage the registered plugin instances.
PluginManager()
- Constructor for class net.sf.groovydice.plugin.
PluginManager
R
register(Object)
- Method in class net.sf.groovydice.plugin.
PluginManager
Register the given plugin instances.
registerBuiltInPlugins()
- Method in class net.sf.groovydice.
GroovyDice
Register the built-in Groovy Dice plugins.
roll(int)
- Method in class net.sf.groovydice.
DiceRollingCommand
Roll the dice using the number generator specified at the configuration context.
rollCommand(Object, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
Create and roll a dice rolling command.
S
setAllDice(List)
- Method in class net.sf.groovydice.
DiceRollingCommand
setClazz(Class)
- Method in class net.sf.groovydice.plugin.
APIEntry
setCondition(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
Set the condition, which restricts the modifier to be applied only to a specific set of dice.
setConfig(GroovyDice)
- Method in class net.sf.groovydice.
DiceRollingCommand
setConfig(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
setDynamicMethods(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
setDynamicMethods(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
setDynamicMethods(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
setDynamicMethods(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
setDynamicMethods(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
setGenerator(Random)
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
setLogic(Closure)
- Method in class net.sf.groovydice.plugin.
APIEntry
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.
DiceRollingCommand
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.
GroovyDice
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.
APIEntry
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.plugin.
PluginManager
setMetaClass(MetaClass)
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
setModifier(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
setName(Object)
- Method in class net.sf.groovydice.plugin.
APIEntry
setNext(Object)
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
setNumberGenerator(Object)
- Method in class net.sf.groovydice.
GroovyDice
setOnInitialize(Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
setProperty(String, Object)
- Method in class net.sf.groovydice.
DiceRollingCommand
setProperty(String, Object)
- Method in class net.sf.groovydice.
GroovyDice
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.
APIEntry
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceArithmeticPlugin
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceExpressionPlugin
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceFilterPlugin
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifierPlugin
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.builtin.
DiceStatisticsPlugin
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.
GroovyDiceAPI
setProperty(String, Object)
- Method in class net.sf.groovydice.plugin.
PluginManager
setProperty(String, Object)
- Method in class net.sf.groovydice.
SimpleRandomNumberGenerator
setSides(Integer)
- Method in class net.sf.groovydice.
DiceRollingCommand
SimpleRandomNumberGenerator
- Class in
net.sf.groovydice
Simple random number generation implementation that rely on the Java's
Random
class do to its job.
SimpleRandomNumberGenerator()
- Constructor for class net.sf.groovydice.
SimpleRandomNumberGenerator
T
toString()
- Method in class net.sf.groovydice.
DiceRollingCommand
Default string representation of this object.
toString()
- Method in class net.sf.groovydice.plugin.
APIEntry
String representation of this entry.
toString()
- Method in class net.sf.groovydice.plugin.builtin.
DiceModifier
String representation of this object.
U
unregister(Object)
- Method in class net.sf.groovydice.plugin.
PluginManager
Unregister plugins.
A
C
D
E
G
H
I
N
O
P
R
S
T
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2008-2010 Daniel F. Martins. All Rights Reserved.