public function __construct(array $pos)
 {
     $this->_posX = $pos['x'];
     $this->_posY = $pos['y'];
     parent::__construct($pos);
     $this->_name = 'Honorable Duty';
     $this->_sizeY = 1;
     $this->_sizeX = 3;
     $this->_maxlife = $this->_life = 4;
     $this->_pp = 10;
     $this->_speed = 18;
     $this->_maniability = 3;
     $this->_shield = 0;
 }
示例#2
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://wh40k-fr.lexicanum.com/mediawiki/images/9/92/Vaisseau-Tombe_Cairn.jpg';
     $value['pv'] = Cairn::PV;
     $value['cm'] = 10;
     $value['pp'] = Cairn::PP;
     $value['maneuver'] = 5;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 3;
     $value['size']['height'] = 7;
     $value['name'] = 'Cairn-class Tomb Ship';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#3
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://wh40k.lexicanum.com/mediawiki/images/2/28/TigerSharkArt.jpg';
     $value['pv'] = Tiger::PV;
     $value['cm'] = 18;
     $value['pp'] = Tiger::PP;
     $value['maneuver'] = 1;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 1;
     $value['size']['height'] = 2;
     $value['name'] = 'Tiger Shark';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#4
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://wh40k.lexicanum.com/mediawiki/images/6/6d/OberonClassBattleship.JPG';
     $value['pv'] = Oberon::PV;
     $value['cm'] = 10;
     $value['pp'] = Oberon::PP;
     $value['maneuver'] = 5;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 3;
     $value['size']['height'] = 7;
     $value['name'] = 'Oberon Battleship';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#5
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://wh40k-fr.lexicanum.com/mediawiki/images/8/89/Raider_Jackal.jpg';
     $value['pv'] = Jackal::PV;
     $value['cm'] = 15;
     $value['pp'] = Jackal::PP;
     $value['maneuver'] = 3;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 2;
     $value['size']['height'] = 4;
     $value['name'] = 'Raider Jackal';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#6
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://www.aerth.fr/useless/necron/Necron_Night_Shroud.jpg';
     $value['pv'] = Shroud::PV;
     $value['cm'] = 18;
     $value['pp'] = Shroud::PP;
     $value['maneuver'] = 1;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 1;
     $value['size']['height'] = 2;
     $value['name'] = 'Night Shroud';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#7
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://wh40k.lexicanum.com/mediawiki/images/1/11/FirestormFrigate.jpg';
     $value['pv'] = Firestorm::PV;
     $value['cm'] = 18;
     $value['pp'] = Firestorm::PP;
     $value['maneuver'] = 1;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 1;
     $value['size']['height'] = 2;
     $value['name'] = 'Firestorm Frigate';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#8
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://i57.servimg.com/u/f57/16/63/10/54/517.jpg';
     $value['pv'] = Ore::PV;
     $value['cm'] = 10;
     $value['pp'] = Ore::PP;
     $value['maneuver'] = 5;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 3;
     $value['size']['height'] = 7;
     $value['name'] = 'Or\'es El\'leath Class Battleship';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#9
0
 public function __construct(array $kwargs)
 {
     $value = array();
     $value['sprite'] = 'http://vignette1.wikia.nocookie.net/warhammer40k/images/0/06/Vengance_Class_Grand_Cruiser.jpg/revision/latest?cb=20110719060347';
     $value['pv'] = Exorcistclass::PV;
     $value['cm'] = 15;
     $value['pp'] = Exorcistclass::PP;
     $value['maneuver'] = 3;
     $value['weapons']['1'] = new navalspear();
     $value['weapons']['2'] = new navalspear();
     $value['size']['width'] = 2;
     $value['size']['height'] = 4;
     $value['name'] = 'Exorcist-class Grand Cruiser';
     $value['pos'] = $kwargs['pos'];
     parent::__construct($value);
 }
示例#10
0
 public function __construct($owner)
 {
     $this->_name = "Sword Of Absolution";
     $this->_spriteSrc = "img/sprite/ImperialDestroyer.jpg";
     $this->_size['L'] = 3;
     $this->_size['l'] = 1;
     $this->_maneuvreInit = 3;
     $this->_speedInit = 18;
     $this->_PpInit = 10;
     $this->_PvInit = 4;
     $this->_PsInit = 0;
     $weapon = new HeavyMachineGun();
     $this->_weapons[] = $weapon;
     $this->_weapons[] = clone $weapon;
     parent::__construct($owner);
 }
示例#11
0
 public function __construct(array $pos)
 {
     $this->_posX = $pos['x'];
     $this->_posY = $pos['y'];
     if (array_key_exists("sY", $pos)) {
         $this->_sizeY = $pos['sY'];
     } else {
         $this->_sizeY = 2;
     }
     if (array_key_exists("sX", $pos)) {
         $this->_sizeX = $pos['sX'];
     } else {
         $this->_sizeX = 7;
     }
     parent::__construct($pos);
     $this->_name = 'Honorable Duty';
     $this->_life = 5;
     $this->_pp = 10;
     $this->_speed = 10;
     $this->_maniability = 4;
     $this->_shield = 0;
 }
示例#12
0
 public function __construct($position)
 {
     $this->type = 'destroyer';
     $this->size = 4;
     parent::__construct($position);
 }
示例#13
0
 public function __construct()
 {
     parent::__construct(self::SPACES, self::NAME);
 }
示例#14
0
 public function __construct($position)
 {
     $this->type = 'battleship';
     $this->size = 5;
     parent::__construct($position);
 }