/**
  * @param integer $type
  * @param integer $metal
  * @param integer $crystal
  * @param integer $deuterium
  */
 protected function __construct($type, $metal, $crystal, $deuterium, $armor, $shield, $weapon, $speed, $cargo_capacity, $fuel_usage)
 {
     parent::__construct($type, $metal, $crystal, $deuterium, $armor, $shield, $weapon);
     $this->SPEED = $speed;
     $this->CARGO_CAPACITY = $cargo_capacity;
     $this->FUEL_USAGE = $fuel_usage;
 }
Example #2
0
 public function __construct()
 {
     parent::__construct(self::TYPE, self::METAL, self::CRYSTAL, self::DEUTERIUM, self::ARMOR, self::SHIELD, self::WEAPON);
 }