implement base act

This commit is contained in:
openlegends 2024-03-15 16:32:18 +02:00
parent c52eabc580
commit 4adff3ce11
3 changed files with 15 additions and 3 deletions

View File

@ -55,5 +55,9 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
public function act( public function act(
\OpenLegends\Engine\Abstract\Card $target \OpenLegends\Engine\Abstract\Card $target
) {} ) {
$this->attack(
$target
);
}
} }

View File

@ -55,5 +55,9 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
public function act( public function act(
\OpenLegends\Engine\Abstract\Card $target \OpenLegends\Engine\Abstract\Card $target
) {} ) {
$this->attack(
$target
);
}
} }

View File

@ -55,5 +55,9 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
public function act( public function act(
\OpenLegends\Engine\Abstract\Card $target \OpenLegends\Engine\Abstract\Card $target
) {} ) {
$this->attack(
$target
);
}
} }