From fb10e3e869885f623f4fd58127cdd97439807ea1 Mon Sep 17 00:00:00 2001 From: openlegends Date: Sat, 16 Mar 2024 20:29:57 +0200 Subject: [PATCH] update namespace --- src/Test/Ability/Drain.php | 8 -------- src/Test/Ability/Guard.php | 8 -------- src/Test/Ability/Lethal.php | 8 -------- src/Test/Ability/Multiple.php | 17 ----------------- src/Test/Attribute/Goblin.php | 8 -------- src/Test/Attribute/Multiple.php | 8 -------- src/Test/Attribute/Neutral.php | 8 -------- src/Test/Card/Ability/Drain.php | 8 ++++++++ src/Test/Card/Ability/Guard.php | 8 ++++++++ src/Test/Card/Ability/Lethal.php | 8 ++++++++ src/Test/Card/Ability/Multiple.php | 17 +++++++++++++++++ src/Test/Card/Attribute/Goblin.php | 8 ++++++++ src/Test/Card/Attribute/Multiple.php | 8 ++++++++ src/Test/Card/Attribute/Neutral.php | 8 ++++++++ src/Test/Card/Goblin.php | 12 ++++++------ src/Test/Card/Mouse.php | 6 +++--- src/Test/Card/Rarity/Common.php | 8 ++++++++ src/Test/Card/Rarity/Rare.php | 8 ++++++++ src/Test/Card/Rat.php | 6 +++--- src/Test/Card/Type/Animal.php | 8 ++++++++ src/Test/Card/Type/Goblin.php | 8 ++++++++ src/Test/Game/Pool.php | 2 +- src/Test/Rarity/Common.php | 8 -------- src/Test/Rarity/Rare.php | 8 -------- src/Test/Type/Animal.php | 8 -------- src/Test/Type/Goblin.php | 8 -------- 26 files changed, 110 insertions(+), 110 deletions(-) delete mode 100644 src/Test/Ability/Drain.php delete mode 100644 src/Test/Ability/Guard.php delete mode 100644 src/Test/Ability/Lethal.php delete mode 100644 src/Test/Ability/Multiple.php delete mode 100644 src/Test/Attribute/Goblin.php delete mode 100644 src/Test/Attribute/Multiple.php delete mode 100644 src/Test/Attribute/Neutral.php create mode 100644 src/Test/Card/Ability/Drain.php create mode 100644 src/Test/Card/Ability/Guard.php create mode 100644 src/Test/Card/Ability/Lethal.php create mode 100644 src/Test/Card/Ability/Multiple.php create mode 100644 src/Test/Card/Attribute/Goblin.php create mode 100644 src/Test/Card/Attribute/Multiple.php create mode 100644 src/Test/Card/Attribute/Neutral.php create mode 100644 src/Test/Card/Rarity/Common.php create mode 100644 src/Test/Card/Rarity/Rare.php create mode 100644 src/Test/Card/Type/Animal.php create mode 100644 src/Test/Card/Type/Goblin.php delete mode 100644 src/Test/Rarity/Common.php delete mode 100644 src/Test/Rarity/Rare.php delete mode 100644 src/Test/Type/Animal.php delete mode 100644 src/Test/Type/Goblin.php diff --git a/src/Test/Ability/Drain.php b/src/Test/Ability/Drain.php deleted file mode 100644 index 4802595..0000000 --- a/src/Test/Ability/Drain.php +++ /dev/null @@ -1,8 +0,0 @@ -_abilities[] = $ability; - } -} \ No newline at end of file diff --git a/src/Test/Attribute/Goblin.php b/src/Test/Attribute/Goblin.php deleted file mode 100644 index 64c7e30..0000000 --- a/src/Test/Attribute/Goblin.php +++ /dev/null @@ -1,8 +0,0 @@ -_abilities[] = $ability; + } +} \ No newline at end of file diff --git a/src/Test/Card/Attribute/Goblin.php b/src/Test/Card/Attribute/Goblin.php new file mode 100644 index 0000000..1294330 --- /dev/null +++ b/src/Test/Card/Attribute/Goblin.php @@ -0,0 +1,8 @@ +add( - new \OpenLegends\Asset\Test\Ability\Lethal() + new \OpenLegends\Asset\Test\Card\Ability\Lethal() ); $ability->add( - new \OpenLegends\Asset\Test\Ability\Guard() + new \OpenLegends\Asset\Test\Card\Ability\Guard() ); $this->setAbility( @@ -23,15 +23,15 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card ); $this->setAttribute( - new \OpenLegends\Asset\Test\Attribute\Neutral() + new \OpenLegends\Asset\Test\Card\Attribute\Neutral() ); $this->setType( - new \OpenLegends\Asset\Test\Type\Goblin() + new \OpenLegends\Asset\Test\Card\Type\Goblin() ); $this->setRarity( - new \OpenLegends\Asset\Test\Rarity\Common() + new \OpenLegends\Asset\Test\Card\Rarity\Common() ); $this->setTitle( diff --git a/src/Test/Card/Mouse.php b/src/Test/Card/Mouse.php index 37889ca..7904092 100644 --- a/src/Test/Card/Mouse.php +++ b/src/Test/Card/Mouse.php @@ -9,15 +9,15 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card public function __construct() { $this->setAttribute( - new \OpenLegends\Asset\Test\Attribute\Neutral() + new \OpenLegends\Asset\Test\Card\Attribute\Neutral() ); $this->setType( - new \OpenLegends\Asset\Test\Type\Animal() + new \OpenLegends\Asset\Test\Card\Type\Animal() ); $this->setRarity( - new \OpenLegends\Asset\Test\Rarity\Common() + new \OpenLegends\Asset\Test\Card\Rarity\Common() ); $this->setTitle( diff --git a/src/Test/Card/Rarity/Common.php b/src/Test/Card/Rarity/Common.php new file mode 100644 index 0000000..99da7f5 --- /dev/null +++ b/src/Test/Card/Rarity/Common.php @@ -0,0 +1,8 @@ +setAttribute( - new \OpenLegends\Asset\Test\Attribute\Neutral() + new \OpenLegends\Asset\Test\Card\Attribute\Neutral() ); $this->setType( - new \OpenLegends\Asset\Test\Type\Animal() + new \OpenLegends\Asset\Test\Card\Type\Animal() ); $this->setRarity( - new \OpenLegends\Asset\Test\Rarity\Common() + new \OpenLegends\Asset\Test\Card\Rarity\Common() ); $this->setTitle( diff --git a/src/Test/Card/Type/Animal.php b/src/Test/Card/Type/Animal.php new file mode 100644 index 0000000..4248d17 --- /dev/null +++ b/src/Test/Card/Type/Animal.php @@ -0,0 +1,8 @@ +