net.sf.groovydice.plugin.builtin
Class DiceModifierPlugin

java.lang.Object
  extended by net.sf.groovydice.plugin.builtin.DiceModifierPlugin
All Implemented Interfaces:
groovy.lang.GroovyObject

public class DiceModifierPlugin
extends Object
implements groovy.lang.GroovyObject

This plugin provides a way to use modifiers to change the dice of a roll.

Since:
1.3
Version:
1
Author:
Daniel F. Martins

Constructor Summary
DiceModifierPlugin()
           
 
Method Summary
 Object getDynamicMethods()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 void setDynamicMethods(Object value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiceModifierPlugin

public DiceModifierPlugin()
Method Detail

getDynamicMethods

public Object getDynamicMethods()

setDynamicMethods

public void setDynamicMethods(Object value)

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright © 2008-2010 Daniel F. Martins. All Rights Reserved.