예제 #1
0
파일: Card.php 프로젝트: jochenJa/kingen
 /**
  * cards need to be comparable
  * @param Card $other
  * @return bool
  */
 public function equals(Card $other)
 {
     return $this->kind() === $other->kind() && $this->value() === $other->value();
 }