pocketmine\event\level\LevelEvent::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Level $level )
$level pocketmine\level\Level
    public function __construct(Level $level)
    {
        $this->level = $level;
    }

Usage Example

예제 #1
0
 /**
  * @param Level    $level
  * @param Position $previousSpawn
  */
 public function __construct(Level $level, Position $previousSpawn)
 {
     parent::__construct($level);
     $this->previousSpawn = $previousSpawn;
 }
All Usage Examples Of pocketmine\event\level\LevelEvent::__construct