| 1 | <?php |
||
| 10 | class BaseStatValueObject |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $health; |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $powerType; |
||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | private $power; |
||
| 24 | /** |
||
| 25 | * @var int |
||
| 26 | */ |
||
| 27 | private $str; |
||
| 28 | /** |
||
| 29 | * @var int |
||
| 30 | */ |
||
| 31 | private $agi; |
||
| 32 | /** |
||
| 33 | * @var int |
||
| 34 | */ |
||
| 35 | private $int; |
||
| 36 | /** |
||
| 37 | * @var int |
||
| 38 | */ |
||
| 39 | private $sta; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * BaseStatValueObject constructor. |
||
| 43 | * @param int $health |
||
| 44 | * @param string $powerType |
||
| 45 | * @param int $power |
||
| 46 | * @param int $str |
||
| 47 | * @param int $agi |
||
| 48 | * @param int $int |
||
| 49 | * @param int $sta |
||
| 50 | */ |
||
| 51 | public function __construct( |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return int |
||
| 71 | */ |
||
| 72 | public function getHealth() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @return string |
||
| 79 | */ |
||
| 80 | public function getPowerType() |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @return int |
||
| 87 | */ |
||
| 88 | public function getPower() |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @return int |
||
| 95 | */ |
||
| 96 | public function getStr() |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @return int |
||
| 103 | */ |
||
| 104 | public function getAgi() |
||
| 108 | |||
| 109 | /** |
||
| 110 | * @return int |
||
| 111 | */ |
||
| 112 | public function getInt() |
||
| 116 | |||
| 117 | /** |
||
| 118 | * @return int |
||
| 119 | */ |
||
| 120 | public function getSta() |
||
| 124 | } |
||
| 125 |