C# 클래스 StarWarrior.Primitives.Lines

파일 보기 프로젝트 열기: thelinuxlich/starwarrior_CSharp

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