Browse Source

draft arena game

main
openlegends 9 months ago
parent
commit
4a3364aaa8
  1. 43
      src/Test/Game/Arena.php

43
src/Test/Game/Arena.php

@ -0,0 +1,43 @@
<?php
declare(strict_types=1);
namespace OpenLegends\Asset\Test\Game;
class Arena extends \OpenLegends\Engine\Abstract\Game
{
public function __construct(
\OpenLegends\Engine\Abstract\Player $player,
\OpenLegends\Engine\Abstract\Pool\Card $deck,
\OpenLegends\Engine\Abstract\Pool\Card $hand,
\OpenLegends\Engine\Abstract\Pool\Card $pile,
\OpenLegends\Engine\Abstract\Pool\Card $left,
\OpenLegends\Engine\Abstract\Pool\Card $right
) {
$this->setPlayer(
$player
);
$this->setDeck(
$deck
);
$this->setHand(
$hand
);
$this->setPile(
$pile
);
$this->setLeft(
$left
);
$this->setRight(
$right
);
}
}
Loading…
Cancel
Save