net.sf.groovydice.plugin.builtin
Class DiceArithmeticPlugin

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

public class DiceArithmeticPlugin
extends Object
implements groovy.lang.GroovyObject

This plugin enables the use of dice rolling commands within arithmetic expressions.

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

Constructor Summary
DiceArithmeticPlugin()
           
 
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

DiceArithmeticPlugin

public DiceArithmeticPlugin()
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.