C# Class PGMEBackend.GLControls.GLEntityEditor

Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old

Méthodes publiques

Свойство Type Description
currentEntities List
endMouseX int
endMouseY int
entityTypes Spritesheet
mouseX int
mouseY int
npcBoundsColor Color
rectDefaultColor Color
rectPaintColor Color
rectSelectColor Color
tool EntityEditorTools

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
PreRender ( ) : void
Render ( ) : void
SetupViewport ( ) : void

Method Details

GLEntityEditor() public méthode

public GLEntityEditor ( int w, int h ) : System
w int
h int
Résultat System

GetAllEntitiesWithinRect() public méthode

public GetAllEntitiesWithinRect ( int startX, int startY, int endX, int endY ) : List
startX int
startY int
endX int
endY int
Résultat List

GetEntityNum() public static méthode

public static GetEntityNum ( Entity entity ) : int
entity Entity
Résultat int

GetTopEntityFromPos() public méthode

public GetTopEntityFromPos ( int x, int y ) : Entity
x int
y int
Résultat Entity

IsEntityWithinBounds() public méthode

public IsEntityWithinBounds ( Entity entity, int x1, int y1, int x2, int y2 ) : bool
entity Entity
x1 int
y1 int
x2 int
y2 int
Résultat bool

MouseDoubleClick() public méthode

public MouseDoubleClick ( ) : void
Résultat void

MouseDown() public méthode

public MouseDown ( EntityEditorTools Tool ) : void
Tool EntityEditorTools
Résultat void

MouseLeave() public méthode

public MouseLeave ( ) : void
Résultat void

MouseMove() public méthode

public MouseMove ( int x, int y ) : void
x int
y int
Résultat void

MouseUp() public méthode

public MouseUp ( EntityEditorTools Tool ) : void
Tool EntityEditorTools
Résultat void

Paint() public méthode

public Paint ( int w, int h ) : void
w int
h int
Résultat void

Property Details

currentEntities public_oe property

public List currentEntities
Résultat List

endMouseX public_oe property

public int endMouseX
Résultat int

endMouseY public_oe property

public int endMouseY
Résultat int

entityTypes public_oe property

public Spritesheet entityTypes
Résultat Spritesheet

mouseX public_oe property

public int mouseX
Résultat int

mouseY public_oe property

public int mouseY
Résultat int

npcBoundsColor public_oe property

public Color npcBoundsColor
Résultat Color

rectDefaultColor public_oe property

public Color rectDefaultColor
Résultat Color

rectPaintColor public_oe property

public Color rectPaintColor
Résultat Color

rectSelectColor public_oe property

public Color rectSelectColor
Résultat Color

tool public_oe property

public EntityEditorTools tool
Résultat EntityEditorTools