C# 클래스 PathfindingTest.Selection.SelectRectangle

파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Draw void
init void

공개 메소드들

메소드 설명
GetRectangle ( ) : Rectangle
Normalize ( Rectangle rect ) : Rectangle

Normalizes the rectangle, so it has positive widths and heights

SelectRectangle ( ) : System
SelectRectangle ( Rectangle rect ) : System
SetRectangle ( Rectangle rect ) : void

Sets the rectangle of the outer dimensions of the select rectangle

비공개 메소드들

메소드 설명
Draw ( SpriteBatch sb ) : void
init ( ) : void

메소드 상세

GetRectangle() 공개 메소드

public GetRectangle ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

Normalize() 공개 메소드

Normalizes the rectangle, so it has positive widths and heights
public Normalize ( Rectangle rect ) : Rectangle
rect Microsoft.Xna.Framework.Rectangle The rect to normalize
리턴 Microsoft.Xna.Framework.Rectangle

SelectRectangle() 공개 메소드

public SelectRectangle ( ) : System
리턴 System

SelectRectangle() 공개 메소드

public SelectRectangle ( Rectangle rect ) : System
rect Microsoft.Xna.Framework.Rectangle
리턴 System

SetRectangle() 공개 메소드

Sets the rectangle of the outer dimensions of the select rectangle
public SetRectangle ( Rectangle rect ) : void
rect Microsoft.Xna.Framework.Rectangle
리턴 void