C# Class EzGame.Collision.Line

Datei anzeigen Open project: CodeTreeCommunity/Shooter2D Class Usage Examples

Public Properties

Property Type Description
Start Vector2

Public Methods

Method Description
Draw ( Batch Batch, Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Intersects ( Line Line ) : bool
Intersects ( Line Line, Vector2 &Intersection ) : bool
Line ( Vector2 Start, Vector2 End ) : System
Offset ( Vector2 Position ) : Line

Method Details

Draw() public method

public Draw ( Batch Batch, Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Batch EzGame.Perspective.Planar.Batch
Color Color
Thickness float
Effect SpriteEffects
Layer float
return void

Draw() public method

public Draw ( Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Color Color
Thickness float
Effect SpriteEffects
Layer float
return void

Intersects() public method

public Intersects ( Line Line ) : bool
Line Line
return bool

Intersects() public method

public Intersects ( Line Line, Vector2 &Intersection ) : bool
Line Line
Intersection Vector2
return bool

Line() public method

public Line ( Vector2 Start, Vector2 End ) : System
Start Vector2
End Vector2
return System

Offset() public method

public Offset ( Vector2 Position ) : Line
Position Vector2
return Line

Property Details

Start public_oe property

public Vector2 Start
return Vector2