예제 #1
0
 protected function __construct($id, $name, $abbreviation, $price, $speed, $id_type, $killing_sequence, $kill_sequence_offset, $ship_takeover)
 {
     parent::__construct($id, $name, $abbreviation, $price, $speed, $id_type);
     $this->killing_sequence = $killing_sequence;
     $this->kill_sequence_offset = intval($kill_sequence_offset);
     $this->ship_takeover = intval($ship_takeover);
 }
예제 #2
0
 protected function __construct($id, $name, $abbreviation, $price, $speed, $id_type, $tanksize, $hitpoints)
 {
     parent::__construct($id, $name, $abbreviation, $price, $speed, $id_type);
     $this->tanksize = intval($tanksize);
     $this->hitpoints = intval($hitpoints);
 }