C# Class Server.Misc.Weather

Show file Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
AddDynamicWeather ( int temperature, int chanceOfPercipitation, int chanceOfExtremeTemperature, int moveSpeed, int width, int height, Server.Rectangle2D bounds ) : void
AddWeather ( int temperature, int chanceOfPercipitation, int chanceOfExtremeTemperature ) : void
CheckContains ( Server.Rectangle2D big, Server.Rectangle2D small ) : bool
CheckIntersection ( Server.Rectangle2D r1, Server.Rectangle2D r2 ) : bool
CheckWeatherConflict ( Server.Map facet, Weather exclude, Server.Rectangle2D area ) : bool
GetWeatherList ( Server.Map facet ) : List
Initialize ( ) : void
IntersectsWith ( Server.Rectangle2D area ) : bool
MoveForward ( ) : void
OnTick ( ) : void
RecalculateMovementAngle ( ) : void
Reposition ( ) : void
Weather ( Server.Map facet, Server.Rectangle2D area, int temperature, int chanceOfPercipitation, int chanceOfExtremeTemperature, System.TimeSpan interval ) : System

Method Details

AddDynamicWeather() public static method

public static AddDynamicWeather ( int temperature, int chanceOfPercipitation, int chanceOfExtremeTemperature, int moveSpeed, int width, int height, Server.Rectangle2D bounds ) : void
temperature int
chanceOfPercipitation int
chanceOfExtremeTemperature int
moveSpeed int
width int
height int
bounds Server.Rectangle2D
return void

AddWeather() public static method

public static AddWeather ( int temperature, int chanceOfPercipitation, int chanceOfExtremeTemperature ) : void
temperature int
chanceOfPercipitation int
chanceOfExtremeTemperature int
return void

CheckContains() public static method

public static CheckContains ( Server.Rectangle2D big, Server.Rectangle2D small ) : bool
big Server.Rectangle2D
small Server.Rectangle2D
return bool

CheckIntersection() public static method

public static CheckIntersection ( Server.Rectangle2D r1, Server.Rectangle2D r2 ) : bool
r1 Server.Rectangle2D
r2 Server.Rectangle2D
return bool

CheckWeatherConflict() public static method

public static CheckWeatherConflict ( Server.Map facet, Weather exclude, Server.Rectangle2D area ) : bool
facet Server.Map
exclude Weather
area Server.Rectangle2D
return bool

GetWeatherList() public static method

public static GetWeatherList ( Server.Map facet ) : List
facet Server.Map
return List

Initialize() public static method

public static Initialize ( ) : void
return void

IntersectsWith() public method

public IntersectsWith ( Server.Rectangle2D area ) : bool
area Server.Rectangle2D
return bool

MoveForward() public method

public MoveForward ( ) : void
return void

OnTick() public method

public OnTick ( ) : void
return void

RecalculateMovementAngle() public method

public RecalculateMovementAngle ( ) : void
return void

Reposition() public method

public Reposition ( ) : void
return void

Weather() public method

public Weather ( Server.Map facet, Server.Rectangle2D area, int temperature, int chanceOfPercipitation, int chanceOfExtremeTemperature, System.TimeSpan interval ) : System
facet Server.Map
area Server.Rectangle2D
temperature int
chanceOfPercipitation int
chanceOfExtremeTemperature int
interval System.TimeSpan
return System