Browse Source

fix method name

main
openlegends 9 months ago
parent
commit
0045c3b9d1
  1. 6
      src/Test/Game/Arena.php

6
src/Test/Game/Arena.php

@ -12,15 +12,15 @@ class Arena extends \OpenLegends\Engine\Abstract\Game
for ($i = 0; $i < 3; $i++) // generate 3 copies of each card for ($i = 0; $i < 3; $i++) // generate 3 copies of each card
{ {
$deck->add( $deck->addCard(
new \OpenLegends\Asset\Test\Card\Goblin() new \OpenLegends\Asset\Test\Card\Goblin()
); );
$deck->add( $deck->addCard(
new \OpenLegends\Asset\Test\Card\Mouse() new \OpenLegends\Asset\Test\Card\Mouse()
); );
$deck->add( $deck->addCard(
new \OpenLegends\Asset\Test\Card\Rat() new \OpenLegends\Asset\Test\Card\Rat()
); );
} }

Loading…
Cancel
Save