C# Класс StarWarrior.Primitives.Lines

Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

AddLine() публичный Метод

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.
Результат void

Draw() публичный Метод

The draw.
public Draw ( Vector2 position ) : void
position Vector2 The position.
Результат void

Lines() публичный Метод

Initializes a new instance of the Lines class.
public Lines ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic
primitiveBatch PrimitiveBatch The primitive batch.
Результат System.Collections.Generic