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