PHP
This page doesn't have content.
Currently Polish version is available.
If you know that language - please read that page.
Site is under development.. Please visit it in a few days.
This page doesn't have content.
Currently Polish version is available.
If you know that language - please read that page.
Site is under development.. Please visit it in a few days.
<?php require_once 'i/Card.php'; require_once 'Color.php'; require_once 'Rank.php'; class Arcade_Card implements Arcade_i_Card { /** * Card's color * @var Arcade_Color */ public $color; /** * Card's rank * @var Arcade_Rank */ public $rank; /** * Creates card instance * @param int $color * @param string $rank */ public function __construct($color, $rank) { $this->color = $color; $this->rank = $rank; } public function __toString() { return Arcade_Rank::getSymbol($this->rank) . Arcade_Color::getSymbol($this->color); } } ?>