Groovy Documentation

de.dewarim.goblin
[Groovy] Class Category

java.lang.Object
  de.dewarim.goblin.Category

class Category

Categories allow the game designer to create groups of items and shops which buy / sell them. An ItemType or Shop may have null..many categories. Note-1: If the amount of ItemTypes grows dramatically, it may be necessary to create a category hierarchy with parent-child relations. Note-2: It may be useful to have a mapping from Category.class to Feature.class, to enable group-wide features of items.


Property Summary
static java.lang.Object hasMany

java.lang.String name

 
Constructor Summary
Category()

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

int hashCode()

 
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

hasMany

static java.lang.Object hasMany


name

java.lang.String name


 
Constructor Detail

Category

Category()


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


 

Groovy Documentation