C# Class PGMEBackend.GLControls.GLMapEditor

Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old

Méthodes publiques

Свойство Type Description
endMouseX int
endMouseY int
height int
mouseX int
mouseY int
movementPerms Spritesheet
rectDefaultColor Color
rectPaintColor Color
rectSelectColor Color
tool MapEditorTools
width int

Méthodes publiques

Méthode Description
FillBlocks ( int x, int y, short originalBlock, short newBlock ) : void
FillPerms ( int x, int y, byte originalPerm, byte newPerm ) : void
GLMapEditor ( int w, int h ) : System
MouseDown ( MapEditorTools Tool ) : void
MouseLeave ( ) : void
MouseMove ( int x, int y ) : void
MouseUp ( MapEditorTools Tool ) : void
Paint ( int w, int h ) : void
PaintBlocksToMap ( short blockArray, int x, int y, int w, int h ) : void
PaintPermsToMap ( byte permsArray, int x, int y, int w, int h ) : void
RedrawAllChunks ( ) : void
StoreChangesToUndoBufferAndRedraw ( ) : void

Private Methods

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

Method Details

FillBlocks() public méthode

public FillBlocks ( int x, int y, short originalBlock, short newBlock ) : void
x int
y int
originalBlock short
newBlock short
Résultat void

FillPerms() public méthode

public FillPerms ( int x, int y, byte originalPerm, byte newPerm ) : void
x int
y int
originalPerm byte
newPerm byte
Résultat void

GLMapEditor() public méthode

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

MouseDown() public méthode

public MouseDown ( MapEditorTools Tool ) : void
Tool MapEditorTools
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 ( MapEditorTools Tool ) : void
Tool MapEditorTools
Résultat void

Paint() public méthode

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

PaintBlocksToMap() public méthode

public PaintBlocksToMap ( short blockArray, int x, int y, int w, int h ) : void
blockArray short
x int
y int
w int
h int
Résultat void

PaintPermsToMap() public méthode

public PaintPermsToMap ( byte permsArray, int x, int y, int w, int h ) : void
permsArray byte
x int
y int
w int
h int
Résultat void

RedrawAllChunks() public méthode

public RedrawAllChunks ( ) : void
Résultat void

StoreChangesToUndoBufferAndRedraw() public méthode

public StoreChangesToUndoBufferAndRedraw ( ) : void
Résultat void

Property Details

endMouseX public_oe property

public int endMouseX
Résultat int

endMouseY public_oe property

public int endMouseY
Résultat int

height public_oe property

public int height
Résultat int

mouseX public_oe property

public int mouseX
Résultat int

mouseY public_oe property

public int mouseY
Résultat int

movementPerms public_oe property

public Spritesheet movementPerms
Résultat Spritesheet

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 MapEditorTools tool
Résultat MapEditorTools

width public_oe property

public int width
Résultat int