Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need some advice how to mapping java.util.Map<EnumType, WrappedType>

 
Bupjae Lee
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working for making some web game.

Each player controls some units for competeing each others. (Like pokemon?)
Each unit has some "prototype" attribute, and as unit gets experience, player can be able "customize" that unit.
Each unit will use one weapon.
Weapons can be grouped (like sword, staff, etc).
Some of units would be more effective when they use staff than sword.

The problem is, I don't know how to write "weapon profiency" information in the prototype entity.



I want to know what annotation would be effective for UnitIni.weaponProfiency.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic