Method | Description | |
---|---|---|
__construct ( |
||
calcWeather ( $currentTick ) | ||
canCalculate ( ) : boolean | ||
getRandomWeatherData ( ) : array | ||
getStrength ( ) : array | ||
getWeather ( ) : integer | ||
getWeatherFromString ( $weather ) | ||
isRainy ( ) : boolean | ||
isRainyThunder ( ) : boolean | ||
isSunny ( ) : boolean | ||
isThunder ( ) : boolean | ||
sendWeather ( |
||
sendWeatherToAll ( ) | ||
setCanCalculate ( boolean $canCalc ) | ||
setRandomWeatherData ( array $randomWeatherData ) | ||
setWeather ( integer $wea, integer $duration = 12000 ) |
public __construct ( |
||
$level |
public setRandomWeatherData ( array $randomWeatherData ) | ||
$randomWeatherData | array |
public setWeather ( integer $wea, integer $duration = 12000 ) | ||
$wea | integer | |
$duration | integer |