C# Class StarWarrior.Primitives.Lines

Afficher le fichier Open project: thelinuxlich/starwarrior_CSharp

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddLine ( float x1, float y1, float x2, float y2 ) : void

The add line.

Draw ( Vector2 position ) : void

The draw.

Lines ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic

Initializes a new instance of the Lines class.

Method Details

AddLine() public méthode

The add line.
public AddLine ( float x1, float y1, float x2, float y2 ) : void
x1 float The x 1.
y1 float The y 1.
x2 float The x 2.
y2 float The y 2.
Résultat void

Draw() public méthode

The draw.
public Draw ( Vector2 position ) : void
position Vector2 The position.
Résultat void

Lines() public méthode

Initializes a new instance of the Lines class.
public Lines ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic
primitiveBatch PrimitiveBatch The primitive batch.
Résultat System.Collections.Generic