Exemplo n.º 1
0
 public boolean isTraitInvul(TraitType traitType) {
   return _traitsInvul[traitType.getId()] > 0;
 }
Exemplo n.º 2
0
 public boolean hasDefenceTrait(TraitType traitType) {
   return _defenceTraitsCount[traitType.getId()] > 0;
 }
Exemplo n.º 3
0
 public boolean hasAttackTrait(TraitType traitType) {
   return _attackTraitsCount[traitType.getId()] > 0;
 }
Exemplo n.º 4
0
 public float getDefenceTrait(TraitType traitType) {
   return _defenceTraits[traitType.getId()];
 }
Exemplo n.º 5
0
 public float getAttackTrait(TraitType traitType) {
   return _attackTraits[traitType.getId()];
 }