C# Класс PGMEBackend.GLControls.GLEntityEditor

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

Открытые свойства

Свойство Тип Описание
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