C# 클래스 PGMEBackend.GLControls.GLEntityEditor

파일 보기 프로젝트 열기: Diegoisawesome/AwesomeMapEditor-old

공개 프로퍼티들

프로퍼티 타입 설명
currentEntities List
endMouseX int
endMouseY int
entityTypes Spritesheet
mouseX int
mouseY int
npcBoundsColor Color
rectDefaultColor Color
rectPaintColor Color
rectSelectColor Color
tool EntityEditorTools

공개 메소드들

메소드 설명
GLEntityEditor ( int w, int h ) : System
GetAllEntitiesWithinRect ( int startX, int startY, int endX, int endY ) : List
GetEntityNum ( Entity entity ) : int
GetTopEntityFromPos ( int x, int y ) : Entity
IsEntityWithinBounds ( Entity entity, int x1, int y1, int x2, int y2 ) : bool
MouseDoubleClick ( ) : void
MouseDown ( EntityEditorTools Tool ) : void
MouseLeave ( ) : void
MouseMove ( int x, int y ) : void
MouseUp ( EntityEditorTools Tool ) : void
Paint ( int w, int h ) : void

비공개 메소드들

메소드 설명
PreRender ( ) : void
Render ( ) : void
SetupViewport ( ) : void

메소드 상세

GLEntityEditor() 공개 메소드

public GLEntityEditor ( int w, int h ) : System
w int
h int
리턴 System

GetAllEntitiesWithinRect() 공개 메소드

public GetAllEntitiesWithinRect ( int startX, int startY, int endX, int endY ) : List
startX int
startY int
endX int
endY int
리턴 List

GetEntityNum() 공개 정적인 메소드

public static GetEntityNum ( Entity entity ) : int
entity Entity
리턴 int

GetTopEntityFromPos() 공개 메소드

public GetTopEntityFromPos ( int x, int y ) : Entity
x int
y int
리턴 Entity

IsEntityWithinBounds() 공개 메소드

public IsEntityWithinBounds ( Entity entity, int x1, int y1, int x2, int y2 ) : bool
entity Entity
x1 int
y1 int
x2 int
y2 int
리턴 bool

MouseDoubleClick() 공개 메소드

public MouseDoubleClick ( ) : void
리턴 void

MouseDown() 공개 메소드

public MouseDown ( EntityEditorTools Tool ) : void
Tool EntityEditorTools
리턴 void

MouseLeave() 공개 메소드

public MouseLeave ( ) : void
리턴 void

MouseMove() 공개 메소드

public MouseMove ( int x, int y ) : void
x int
y int
리턴 void

MouseUp() 공개 메소드

public MouseUp ( EntityEditorTools Tool ) : void
Tool EntityEditorTools
리턴 void

Paint() 공개 메소드

public Paint ( int w, int h ) : void
w int
h int
리턴 void

프로퍼티 상세

currentEntities 공개적으로 프로퍼티

public List currentEntities
리턴 List

endMouseX 공개적으로 프로퍼티

public int endMouseX
리턴 int

endMouseY 공개적으로 프로퍼티

public int endMouseY
리턴 int

entityTypes 공개적으로 프로퍼티

public Spritesheet entityTypes
리턴 Spritesheet

mouseX 공개적으로 프로퍼티

public int mouseX
리턴 int

mouseY 공개적으로 프로퍼티

public int mouseY
리턴 int

npcBoundsColor 공개적으로 프로퍼티

public Color npcBoundsColor
리턴 Color

rectDefaultColor 공개적으로 프로퍼티

public Color rectDefaultColor
리턴 Color

rectPaintColor 공개적으로 프로퍼티

public Color rectPaintColor
리턴 Color

rectSelectColor 공개적으로 프로퍼티

public Color rectSelectColor
리턴 Color

tool 공개적으로 프로퍼티

public EntityEditorTools tool
리턴 EntityEditorTools