PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
EntityCombustByEntityEvent.php
1 <?php
2 
22 namespace pocketmine\event\entity;
23 
25 
27  public static $eventPool = [];
28  public static $nextEvent = 0;
29 
30  protected $combuster;
31 
37  public function __construct(Entity $combuster, Entity $combustee, $duration){
38  parent::__construct($combustee, $duration);
39  $this->combuster = $combuster;
40  }
41 
45  public function getCombuster(){
46  return $this->combuster;
47  }
48 
49 }
__construct(Entity $combuster, Entity $combustee, $duration)