Ejemplo n.º 1
0
 /**
  * cards need to be comparable
  * @param Card $other
  * @return bool
  */
 public function equals(Card $other)
 {
     return $this->kind() === $other->kind() && $this->value() === $other->value();
 }