PHP Class pocketmine\event\level\WeatherChangeEvent

Inheritance: extends LevelEvent, implements pocketmine\event\Cancellable
Mostrar archivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Level $level, integer $weather, integer $duration )
getDuration ( ) : integer
getWeather ( ) : integer
setDuration ( integer $duration )
setWeather ( integer $weather = Weather::SUNNY )

Method Details

__construct() public method

public __construct ( Level $level, integer $weather, integer $duration )
$level pocketmine\level\Level
$weather integer
$duration integer

getDuration() public method

public getDuration ( ) : integer
return integer

getWeather() public method

public getWeather ( ) : integer
return integer

setDuration() public method

public setDuration ( integer $duration )
$duration integer

setWeather() public method

public setWeather ( integer $weather = Weather::SUNNY )
$weather integer

Property Details

$handlerList public_oe static_oe property

public static $handlerList