C# Class SimpleSoccer.Net.Region

Show file Open project: soshimozi/SimpleSoccer.Net

Public Methods

Method Description
GetRandomPosition ( ) : Vector2D
IsPositionInside ( Vector2D position ) : bool
IsPositionInside ( Vector2D position, RegionModifier modifier ) : bool
Region ( ) : System
Region ( double top, double bottom, double left, double right ) : System
Render ( bool showId, Graphics g ) : void

Method Details

GetRandomPosition() public method

public GetRandomPosition ( ) : Vector2D
return Vector2D

IsPositionInside() public method

public IsPositionInside ( Vector2D position ) : bool
position Vector2D
return bool

IsPositionInside() public method

public IsPositionInside ( Vector2D position, RegionModifier modifier ) : bool
position Vector2D
modifier RegionModifier
return bool

Region() public method

public Region ( ) : System
return System

Region() public method

public Region ( double top, double bottom, double left, double right ) : System
top double
bottom double
left double
right double
return System

Render() public method

public Render ( bool showId, Graphics g ) : void
showId bool
g System.Drawing.Graphics
return void