1234567891011121314151617181920212223 |
- <?php
- /**
- * Created by PhpStorm.
- * User: artem
- * Date: 06.07.18
- * Time: 20:45
- */
- include_once 'Guard.php';
- class Swordsman extends Guard
- {
- public function __construct($name)
- {
- parent::__construct($name);
- $this->health = 50;
- }
- protected function playLoading()
- {
- echo 'Playing swordsman loading<br>';
- }
- }
|