Groovy Documentation

de.dewarim.goblin.town
[Groovy] Class Academy

java.lang.Object
  de.dewarim.goblin.town.Academy

class Academy

An Academy is a place where PCs may learn new Skills / SkillSets. Currently, there is a 1:n mapping of Academy to SkillSets. One expansion option is to add a course class which contains price and learning time of SkillSets. But that is probably additional complexity without much play value, unless there are different towns with multiple academies. An Academy may be associated with a guild, and if that's the case, a PC may only learn skills there if he is a member.


Property Summary
static java.lang.Object belongsTo

static java.lang.Object constraints

java.lang.String description

static java.lang.Object hasMany

java.lang.String name

 
Constructor Summary
Academy()

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

int hashCode()

void purgeGuildAcademies(java.lang.Object guildList)

Remove all guilds from guildList from this academy.

 
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

belongsTo

static java.lang.Object belongsTo


constraints

static java.lang.Object constraints


description

java.lang.String description


hasMany

static java.lang.Object hasMany


name

java.lang.String name


 
Constructor Detail

Academy

Academy()


 
Method Detail

equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


purgeGuildAcademies

void purgeGuildAcademies(java.lang.Object guildList)
Remove all guilds from guildList from this academy.
Parameters:
guildList


 

Groovy Documentation