getRarity() public method

public getRarity ( )
示例#1
0
 public function equals(Enchantment $ent)
 {
     if ($ent->getId() == $this->getId() and $ent->getLevel() == $this->getLevel() and $ent->getActivationType() == $this->getActivationType() and $ent->getRarity() == $this->getRarity()) {
         return true;
     }
     return false;
 }