Groovy Documentation

de.dewarim.goblin
[Groovy] Class Dice

java.lang.Object
  de.dewarim.goblin.Dice

class Dice

Property Summary
java.lang.Integer amount

java.lang.Integer bonus

static java.lang.Object constraints

java.lang.String name

java.lang.Integer sides

 
Constructor Summary
Dice()

 
Method Summary
boolean equals(java.lang.Object o)

int hashCode()

java.lang.Integer roll()

java.lang.Integer singleDie()

java.lang.String toString()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

amount

java.lang.Integer amount


bonus

java.lang.Integer bonus


constraints

static java.lang.Object constraints


name

java.lang.String name


sides

java.lang.Integer sides


 
Constructor Detail

Dice

Dice()


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


roll

java.lang.Integer roll()


singleDie

java.lang.Integer singleDie()


toString

java.lang.String toString()


 

Groovy Documentation